summaryrefslogtreecommitdiffhomepage
path: root/tracker-trackhat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-10-04 15:51:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-03-29 00:04:47 +0200
commitcdaaba77e9a7152ae884324b9d66391b1c229972 (patch)
tree1a8ec751106b0f1e45317483be4916220707c42d /tracker-trackhat
parentfca06d89770f439ec1d9f23690940df8479b3ec4 (diff)
tracker/trackhat: support opencv dynamic linking
Diffstat (limited to 'tracker-trackhat')
-rw-r--r--tracker-trackhat/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-trackhat/CMakeLists.txt b/tracker-trackhat/CMakeLists.txt
index 12df71fc..ef89ae10 100644
--- a/tracker-trackhat/CMakeLists.txt
+++ b/tracker-trackhat/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()
set(SDK_TRACKHAT_SENSOR CACHE PATH "")
if(SDK_TRACKHAT_SENSOR)
include_directories("${SDK_TRACKHAT_SENSOR}/include" ${OpenCV_INCLUDE_DIRS})