From 6c6a12df66cb0afd56630f9676f81e9d6c205a0f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 25 Sep 2021 06:01:16 +0200 Subject: tracker/pt: only link opencv_imgproc when needed --- tracker-pt/module/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt/module/CMakeLists.txt') diff --git a/tracker-pt/module/CMakeLists.txt b/tracker-pt/module/CMakeLists.txt index f7a6cc7f..cc16cba1 100644 --- a/tracker-pt/module/CMakeLists.txt +++ b/tracker-pt/module/CMakeLists.txt @@ -2,6 +2,6 @@ include(opentrack-opencv) find_package(OpenCV QUIET) if(OpenCV_FOUND) otr_module(tracker-pt) - target_link_libraries(${self} opentrack-tracker-pt-base) + target_link_libraries(${self} opencv_imgproc opentrack-tracker-pt-base) target_include_directories(${self} PUBLIC "${CMAKE_SOURCE_DIR}/tracker-pt") endif() -- cgit v1.2.3