summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-04 15:53:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-10-04 15:53:26 +0200
commitc2ab96e976ff12f1d5fdaefbb77042c024cb47dd (patch)
tree17331de17772210824e979a533836230579b1230 /tracker-aruco
parenta790e295b544bceb067f3ea6c4f0fd93f225cb98 (diff)
tracker/{aruco,easy,pt,wii}, video/opencv: allow dynamic opencv
Diffstat (limited to 'tracker-aruco')
-rw-r--r--tracker-aruco/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt
index d3c1f28c..96605f1b 100644
--- a/tracker-aruco/CMakeLists.txt
+++ b/tracker-aruco/CMakeLists.txt
@@ -11,6 +11,9 @@ include(opentrack-opencv)
find_package(OpenCV QUIET)
if(OpenCV_FOUND)
+ foreach(k core calib3d imgproc features2d flann)
+ otr_install_lib("opencv_${k}" "${opentrack-libexec}")
+ endforeach()
set(SDK_ARUCO_LIBPATH "" CACHE FILEPATH "Aruco paper marker tracker static library path")
if(SDK_ARUCO_LIBPATH)
set(modules "${SDK_ARUCO_LIBPATH}" opencv_calib3d opencv_imgproc opencv_core)