diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 00:26:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 00:26:58 +0200 |
commit | 75ff941b20b28f520b9ad78d5df7d7ba55db4623 (patch) | |
tree | 76a0000c7096fd3acb1ec12bc160f51b4f644698 /tracker-pt | |
parent | c881d7ff07371838d39a08cc0194dc62d9e6bbea (diff) |
fix find_package opencv
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/CMakeLists.txt | 2 | ||||
-rw-r--r-- | 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 ae923d3d..c9809dcf 100644 --- a/tracker-pt/CMakeLists.txt +++ b/tracker-pt/CMakeLists.txt @@ -1,5 +1,5 @@ -find_package(OpenCV 3.0 QUIET) set(modules opencv_core opencv_videoio opencv_imgproc) +find_package(OpenCV QUIET) if(OpenCV_FOUND) otr_module(tracker-pt-base STATIC) target_include_directories(opentrack-tracker-pt-base SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS}) diff --git a/tracker-pt/module/CMakeLists.txt b/tracker-pt/module/CMakeLists.txt index 1d1b4458..43580a1f 100644 --- a/tracker-pt/module/CMakeLists.txt +++ b/tracker-pt/module/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenCV 3.0 QUIET) +find_package(OpenCV QUIET) if(OpenCV_FOUND) otr_module(tracker-pt) target_link_libraries(opentrack-tracker-pt opentrack-tracker-pt-base) |