summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-15 04:14:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-15 04:14:06 +0200
commit842d261e5d0d2af65b6327288cecc845d452db5a (patch)
tree60acbba86ef76c7e9208a8d6b509f449eb610cef
parentd15a1c158d8c1ae589f18a0443defc5726190a40 (diff)
Link against uuid.lib on win32 explicitly
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f906d0a2..8f21defc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -494,7 +494,12 @@ endif()
endif()
add_executable(opentrack ${opentrack-win32-executable} ${opentrack-bin-c} ${opentrack-bin-moc} ${opentrack-bin-uih} ${opentrack-bin-rcc})
if(WIN32)
- target_link_libraries(opentrack "${CMAKE_SOURCE_DIR}/dinput/dinput8.lib" "${CMAKE_SOURCE_DIR}/dinput/dxguid.lib" "${CMAKE_SOURCE_DIR}/dinput/strmiids.lib" winmm)
+ target_link_libraries(opentrack "${CMAKE_SOURCE_DIR}/dinput/dinput8.lib"
+ "${CMAKE_SOURCE_DIR}/dinput/dxguid.lib"
+ "${CMAKE_SOURCE_DIR}/dinput/strmiids.lib"
+ winmm
+ uuid
+ )
else()
target_link_libraries(opentrack X11)
endif()