From c2ab96e976ff12f1d5fdaefbb77042c024cb47dd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 4 Oct 2021 15:53:26 +0200 Subject: tracker/{aruco,easy,pt,wii}, video/opencv: allow dynamic opencv --- tracker-pt/module/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tracker-pt/module/CMakeLists.txt') diff --git a/tracker-pt/module/CMakeLists.txt b/tracker-pt/module/CMakeLists.txt index cc16cba1..c5670404 100644 --- a/tracker-pt/module/CMakeLists.txt +++ b/tracker-pt/module/CMakeLists.txt @@ -1,6 +1,9 @@ include(opentrack-opencv) find_package(OpenCV QUIET) if(OpenCV_FOUND) + foreach(k core imgproc) + otr_install_lib("opencv_${k}" "${opentrack-libexec}") + endforeach() otr_module(tracker-pt) target_link_libraries(${self} opencv_imgproc opentrack-tracker-pt-base) target_include_directories(${self} PUBLIC "${CMAKE_SOURCE_DIR}/tracker-pt") -- cgit v1.2.3