summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-25 18:15:50 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-25 18:15:50 +0200
commitbc130b2812700047002f2866012784853c88670e (patch)
tree6ccfcd47ba6ee0aa934ca4a4251b96edf0a20148
parentf8249ec59c43f6aa774ebe4d4660acbf7f41c04b (diff)
core: link with winmm on win32
Reported-by: @KyokushinPL
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ae2c6d8..fc6fe98a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -455,6 +455,8 @@ endif()
target_link_libraries(opentrack opentrack-version opentrack-pose-widget opentrack-spline-widget ${MY_QT_LIBS} ${QXT_QXTCORE_LIB_RELEASE} ${QXT_QXTWIDGETS_LIB_RELEASE})
if(NOT WIN32)
target_link_libraries(opentrack dl)
+else()
+ target_link_libraries(opentrack winmm)
endif()
# make install