From 18393d3579d01c20e6536dcd60010e49babfaa47 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 6 Sep 2016 14:15:32 +0200 Subject: cmake: don't link against highgui It can be linked against qt4 leading to runtime crash. --- tracker-ht/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-ht') 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) -- cgit v1.2.3