summaryrefslogtreecommitdiffhomepage
path: root/tracker-ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-06 14:15:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-06 14:19:13 +0200
commit18393d3579d01c20e6536dcd60010e49babfaa47 (patch)
tree21e7ad8123a4fdb3684e8bf7642b2309316c1224 /tracker-ht
parent44aff948064986c22f0090323b35a68cf89952fd (diff)
cmake: don't link against highgui
It can be linked against qt4 leading to runtime crash.
Diffstat (limited to 'tracker-ht')
-rw-r--r--tracker-ht/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-ht/CMakeLists.txt b/tracker-ht/CMakeLists.txt
index 82784fe6..06791993 100644
--- a/tracker-ht/CMakeLists.txt
+++ b/tracker-ht/CMakeLists.txt
@@ -1,7 +1,7 @@
if(FALSE)
set(SDK_HT "" CACHE FILEPATH "Path to headtracker library")
set(SDK_HT_FLANDMARK "" CACHE FILEPATH "Path to flandmark library for headtracker")
-find_package(OpenCV 3.0 QUIET)
+find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules})
if(OpenCV_FOUND)
if(SDK_HT AND SDK_HT_FLANDMARK)
opentrack_boilerplate(opentrack-tracker-ht)