summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-06 10:46:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-06 10:46:16 +0200
commit28694265371386777253f8279752e47c45f471d5 (patch)
tree13a4df42f90805b43dd288158d059893b210db22 /CMakeLists.txt
parentc52bb357b551e8a4490be2863bee19934ed7ef12 (diff)
cmake: build of HT plugin doesn't need opencv
The main HT executable still needs it.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4e5e6061..610d831f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -331,13 +331,13 @@ if(OpenCV_FOUND)
target_link_libraries(opentrack-filter-kalman ${OpenCV_LIBS})
target_include_directories(opentrack-filter-kalman SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
-
- opentrack_library(opentrack-tracker-ht ftnoir_tracker_ht)
- target_link_libraries(opentrack-tracker-ht opentrack-compat)
- target_include_directories(opentrack-tracker-ht SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
- link_with_dinput8(opentrack-tracker-ht)
endif()
+opentrack_library(opentrack-tracker-ht ftnoir_tracker_ht)
+target_link_libraries(opentrack-tracker-ht opentrack-compat)
+target_include_directories(opentrack-tracker-ht SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
+link_with_dinput8(opentrack-tracker-ht)
+
link_with_dinput8(opentrack-tracker-joystick)
if(SDK_RIFT)