diff options
Diffstat (limited to 'tracker-easy/CMakeLists.txt')
-rw-r--r-- | tracker-easy/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tracker-easy/CMakeLists.txt b/tracker-easy/CMakeLists.txt index ed95a560..ef7274a7 100644 --- a/tracker-easy/CMakeLists.txt +++ b/tracker-easy/CMakeLists.txt @@ -7,9 +7,13 @@ if(OpenCV_FOUND) CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${OpenCV_INCLUDE_DIRS}" "-DCXX_STANDARD=17" "-DCXX_STANDARD_REQUIRED=1" OUTPUT_VARIABLE krap) - if(tracker-easy-ocv-check) + if(tracker-easy_ocv-check) + foreach(k video highgui) + otr_install_lib("opencv_${k}" "${opentrack-hier-pfx}") + endforeach() + otr_module(tracker-easy) target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS}) - target_link_libraries(${self} opencv_core opencv_imgproc opencv_calib3d opencv_video opentrack-cv opentrack-video) + target_link_libraries(${self} opencv_core opencv_imgproc opencv_calib3d opencv_video opencv_highgui opentrack-cv opentrack-video) endif() endif() |