summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-18 08:11:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-18 08:11:07 +0200
commitd3509f15e95dd0e2fb884f0028fabfceb3ddf4fa (patch)
treea69d31d9eddd2dceb13878a0ff010ea0a67fae8d /CMakeLists.txt
parent13d130ae0ca1527475a80161ce2ffffae0ace6f2 (diff)
build: hopefully fix tracker-pt for alterscape
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 15e1e3b7..e5dc9d55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -459,7 +459,7 @@ endif()
"${CMAKE_SOURCE_DIR}/dinput/strmiids.lib"
uuid)
endif()
-
+
if(OpenCV_FOUND)
include_directories(${OpenCV_INCLUDE_DIRS})
include_directories(${OpenCV_DIR}/include)
@@ -473,6 +473,14 @@ endif()
SET_TARGET_PROPERTIES(opentrack-tracker-pt
PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/facetracknoir/posix-version-script.txt")
endif()
+
+ if(WIN32)
+ target_link_libraries(opentrack-tracker-pt
+ "${CMAKE_SOURCE_DIR}/dinput/dinput8.lib"
+ "${CMAKE_SOURCE_DIR}/dinput/dxguid.lib"
+ "${CMAKE_SOURCE_DIR}/dinput/strmiids.lib"
+ uuid)
+ endif()
endif()
add_library(opentrack-tracker-udp SHARED ${opentrack-tracker-udp-c} ${opentrack-tracker-udp-moc} ${opentrack-tracker-udp-uih} ${opentrack-tracker-udp-rcc})