diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-13 21:30:21 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-13 21:30:21 +0100 |
commit | e752bebfde4cd00cae7294027d938cfdd8d93b1e (patch) | |
tree | bbec405be1ffb92e9d8bce2dbba28549b5f567bd | |
parent | 7919ba32fb4608a008f8947888b1a53e90ce6c56 (diff) |
gui: rename the project not to conflict with toplevel
-rw-r--r-- | gui/CMakeLists.txt | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index eca00125..2d6b80be 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -1,3 +1,5 @@ +project(opentrack-user-interface) + if(MSVC OR (NOT SDK_CONSOLE_DEBUG AND WIN32)) set(console "") else() @@ -8,11 +10,14 @@ if(WIN32) SET(SDK_CONSOLE_DEBUG FALSE CACHE BOOL "Console window visible at runtime") endif() -opentrack_boilerplate(opentrack EXECUTABLE BIN ${console}) +opentrack_boilerplate(opentrack-user-interface EXECUTABLE BIN ${console}) -set_target_properties(opentrack PROPERTIES SUFFIX "${opentrack-binary-suffix}") +set_target_properties(opentrack-user-interface PROPERTIES + SUFFIX "${opentrack-binary-suffix}" + OUTPUT_NAME "opentrack" + ) -target_link_libraries(opentrack +target_link_libraries(opentrack-user-interface opentrack-migration opentrack-logic opentrack-spline-widget @@ -22,12 +27,12 @@ target_link_libraries(opentrack if(APPLE) # for process detector - target_link_libraries(opentrack proc) + target_link_libraries(opentrack-user-interface proc) endif() if(LINUX) - target_link_libraries(opentrack dl) + target_link_libraries(opentrack-user-interface dl) # for process detector - target_link_libraries(opentrack procps) + target_link_libraries(opentrack-user-interface procps) endif() |