From bc130b2812700047002f2866012784853c88670e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Sep 2014 18:15:50 +0200 Subject: core: link with winmm on win32 Reported-by: @KyokushinPL --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3