summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-02-05 19:27:28 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-02-05 19:27:28 +0100
commitae611eef485f0c40a3d6b35d657368f6b3908a8a (patch)
treef6bb5b8d698a01139c8f1f5acc1a43814e1f0e99
parentf3ecb6820e6f2e3ea6cabf51715034478bff79f9 (diff)
tracker/aruco: don't build when opencv_calib3d is missing
-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 96605f1b..ff743d42 100644
--- a/tracker-aruco/CMakeLists.txt
+++ b/tracker-aruco/CMakeLists.txt
@@ -10,7 +10,7 @@ endfunction()
include(opentrack-opencv)
find_package(OpenCV QUIET)
-if(OpenCV_FOUND)
+if(OpenCV_FOUND AND TARGET opencv_calib3d)
foreach(k core calib3d imgproc features2d flann)
otr_install_lib("opencv_${k}" "${opentrack-libexec}")
endforeach()