diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-02-05 19:27:28 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-02-05 19:27:28 +0100 |
commit | ae611eef485f0c40a3d6b35d657368f6b3908a8a (patch) | |
tree | f6bb5b8d698a01139c8f1f5acc1a43814e1f0e99 /tracker-aruco | |
parent | f3ecb6820e6f2e3ea6cabf51715034478bff79f9 (diff) |
tracker/aruco: don't build when opencv_calib3d is missing
Diffstat (limited to 'tracker-aruco')
-rw-r--r-- | tracker-aruco/CMakeLists.txt | 2 |
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() |