summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/CMakeLists.txt
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-wii/CMakeLists.txt
parenta790e295b544bceb067f3ea6c4f0fd93f225cb98 (diff)
tracker/{aruco,easy,pt,wii}, video/opencv: allow dynamic opencv
Diffstat (limited to 'tracker-wii/CMakeLists.txt')
-rw-r--r--tracker-wii/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-wii/CMakeLists.txt b/tracker-wii/CMakeLists.txt
index b275fbeb..fb840385 100644
--- a/tracker-wii/CMakeLists.txt
+++ b/tracker-wii/CMakeLists.txt
@@ -2,6 +2,9 @@ if(WIN32)
include(opentrack-opencv)
find_package(OpenCV QUIET)
if(OpenCV_FOUND)
+ foreach(k core imgproc)
+ otr_install_lib("opencv_${k}" "${opentrack-libexec}")
+ endforeach()
add_subdirectory(wiiyourself)
otr_module(tracker-wii)
target_link_libraries(${self} opencv_imgproc opentrack-tracker-pt-base opentrack-wiiyourself bthprops)