summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-23 20:25:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-06-05 14:44:25 +0200
commitf045b65d7e3f2d65195e02c4b6097f2c9886222c (patch)
tree55b96e37a50069d5adcb2252b8c3cabb6f2d66af
parentdb2704836abd6c8d7d773b529c122c0c84d061f7 (diff)
tracker/pt: don't link static lib with opentrack-video
-rw-r--r--tracker-pt/CMakeLists.txt2
-rw-r--r--tracker-pt/module/CMakeLists.txt2
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()