summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-01 08:39:46 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-01 08:49:12 +0100
commite04fe7d7b412c502c30c3eaf9d54b0eebf708d2b (patch)
tree0c61ecb4c612e8717d4aef605b1f316ca6881f97 /opentrack
parentcc16fd0121fe79ae1fd9539a606c19827f64bc23 (diff)
cmake: less boilerplate, link dynamically
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/opentrack/CMakeLists.txt b/opentrack/CMakeLists.txt
index 4581f394..590eaca5 100644
--- a/opentrack/CMakeLists.txt
+++ b/opentrack/CMakeLists.txt
@@ -1,10 +1,6 @@
-opentrack_boilerplate(opentrack-api NO-LIBRARY)
-opentrack_qt(opentrack-api)
-add_library(opentrack-api STATIC ${opentrack-api-all})
-opentrack_compat(opentrack-api)
-target_link_libraries(opentrack-api ${MY_QT_LIBS})
+opentrack_boilerplate(opentrack-api NO-LINKER-SCRIPT NO-COMPAT)
if(NOT WIN32)
- target_link_libraries(opentrack-api dl)
+ target_link_libraries(opentrack-api opentrack-qxt-mini opentrack-compat dl)
else()
target_link_libraries(opentrack-api winmm)
endif()