diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-04 15:53:26 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-04 15:53:26 +0200 |
commit | c2ab96e976ff12f1d5fdaefbb77042c024cb47dd (patch) | |
tree | 17331de17772210824e979a533836230579b1230 /video-opencv/CMakeLists.txt | |
parent | a790e295b544bceb067f3ea6c4f0fd93f225cb98 (diff) |
tracker/{aruco,easy,pt,wii}, video/opencv: allow dynamic opencv
Diffstat (limited to 'video-opencv/CMakeLists.txt')
-rw-r--r-- | video-opencv/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/video-opencv/CMakeLists.txt b/video-opencv/CMakeLists.txt index c56e65d4..0b2460a4 100644 --- a/video-opencv/CMakeLists.txt +++ b/video-opencv/CMakeLists.txt @@ -2,8 +2,11 @@ include(opentrack-opencv) find_package(OpenCV QUIET) if(OpenCV_FOUND) + foreach(k core videoio imgcodecs imgproc) + otr_install_lib("opencv_${k}" "${opentrack-libexec}") + endforeach() otr_module(video-opencv) - target_link_libraries(${self} opencv_core opencv_videoio opentrack-video) + target_link_libraries(${self} opencv_core opencv_imgcodecs opencv_videoio opentrack-video) if(WIN32) target_link_libraries(${self} strmiids) endif() |