From 8815732f37c5899dbe65d507c082c0c62250ab7d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Apr 2019 21:41:26 +0200 Subject: cmake: install shared opencv libraries Issue: #867 Requested by: @Slion --- tracker-pt/CMakeLists.txt | 2 +- tracker-pt/module/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-pt') 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) -- cgit v1.2.3