summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/CMakeLists.txt
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-aruco/CMakeLists.txt
parent44aff948064986c22f0090323b35a68cf89952fd (diff)
cmake: don't link against highgui
It can be linked against qt4 leading to runtime crash.
Diffstat (limited to 'tracker-aruco/CMakeLists.txt')
-rw-r--r--tracker-aruco/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)