summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-05 21:41:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-05 21:41:26 +0200
commit8815732f37c5899dbe65d507c082c0c62250ab7d (patch)
treed350ed3f031447f07794ae4ce51e6f6b00f4bfeb /tracker-pt
parent61592edd7b953c35167fb95f1d26aecc4e5c594a (diff)
cmake: install shared opencv libraries
Issue: #867 Requested by: @Slion
Diffstat (limited to 'tracker-pt')
-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 304a6b3d..52f86831 100644
--- a/tracker-pt/CMakeLists.txt
+++ b/tracker-pt/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(OpenCV QUIET)
+include(opentrack-opencv)
if(OpenCV_FOUND)
otr_module(tracker-pt-base STATIC)
target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
diff --git a/tracker-pt/module/CMakeLists.txt b/tracker-pt/module/CMakeLists.txt
index 22b725c9..8d731c9d 100644
--- a/tracker-pt/module/CMakeLists.txt
+++ b/tracker-pt/module/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(OpenCV QUIET)
+include(opentrack-opencv)
if(OpenCV_FOUND)
otr_module(tracker-pt)
target_link_libraries(${self} opentrack-tracker-pt-base)