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-aruco/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-aruco') diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt index c6f8f275..8f3e9e7c 100644 --- a/tracker-aruco/CMakeLists.txt +++ b/tracker-aruco/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenCV 3.0 QUIET) +find_package(OpenCV 3.0 QUIET COMPONENTS ${opencv-modules}) set(SDK_ARUCO_LIBPATH "" CACHE FILEPATH "Aruco paper marker tracker static library path") if(SDK_ARUCO_LIBPATH) opentrack_boilerplate(opentrack-tracker-aruco) -- cgit v1.2.3