summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c45163dc..7046c549 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -367,11 +367,13 @@ if(OpenCV_FOUND)
target_link_libraries(opentrack-filter-kalman ${OpenCV_LIBS})
target_include_directories(opentrack-filter-kalman SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
-endif()
-opentrack_library(opentrack-tracker-ht ftnoir_tracker_ht)
-target_link_libraries(opentrack-tracker-ht opentrack-compat)
-link_with_dinput8(opentrack-tracker-ht)
+ opentrack_library(opentrack-tracker-ht ftnoir_tracker_ht)
+ target_link_libraries(opentrack-tracker-ht opentrack-compat)
+ link_with_dinput8(opentrack-tracker-ht)
+ target_link_libraries(opentrack-tracker-ht ${OpenCV_LIBS})
+ target_include_directories(opentrack-tracker-ht SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
+endif()
link_with_dinput8(opentrack-tracker-joystick)