From cdaaba77e9a7152ae884324b9d66391b1c229972 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 4 Oct 2021 15:51:36 +0200 Subject: tracker/trackhat: support opencv dynamic linking --- tracker-trackhat/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tracker-trackhat') 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}) -- cgit v1.2.3