diff options
-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() |