From f045b65d7e3f2d65195e02c4b6097f2c9886222c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 23 May 2022 20:25:04 +0200 Subject: tracker/pt: don't link static lib with opentrack-video --- tracker-pt/CMakeLists.txt | 2 +- tracker-pt/module/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tracker-pt/CMakeLists.txt b/tracker-pt/CMakeLists.txt index a1bf47f5..0c2e9ce3 100644 --- a/tracker-pt/CMakeLists.txt +++ b/tracker-pt/CMakeLists.txt @@ -6,7 +6,7 @@ if(OpenCV_FOUND) endforeach() otr_module(tracker-pt-base STATIC) target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS}) - target_link_libraries(${self} opentrack-cv opencv_core opentrack-video) + target_link_libraries(${self} opentrack-cv opencv_core) set_property(TARGET ${self} PROPERTY OUTPUT_NAME "pt-base") endif() add_subdirectory(module) diff --git a/tracker-pt/module/CMakeLists.txt b/tracker-pt/module/CMakeLists.txt index c5670404..b7fc974f 100644 --- a/tracker-pt/module/CMakeLists.txt +++ b/tracker-pt/module/CMakeLists.txt @@ -5,6 +5,6 @@ if(OpenCV_FOUND) otr_install_lib("opencv_${k}" "${opentrack-libexec}") endforeach() otr_module(tracker-pt) - target_link_libraries(${self} opencv_imgproc opentrack-tracker-pt-base) + target_link_libraries(${self} opentrack-video opencv_imgproc opentrack-tracker-pt-base) target_include_directories(${self} PUBLIC "${CMAKE_SOURCE_DIR}/tracker-pt") endif() -- cgit v1.2.3