summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gui/CMakeLists.txt17
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()