diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-06 10:43:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-06 10:44:58 +0200 |
commit | a1ab5d158ae2f4c5ce5e88602c798b86414ea67c (patch) | |
tree | 71ed00136ac7753198073a450ad988a81fb7892d /tracker-pt | |
parent | 68c76be3a657181732beb37701e7dbe1ce9e1905 (diff) |
cv: fix variable scope
Issue: #926
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tracker-pt/module/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tracker-pt/CMakeLists.txt b/tracker-pt/CMakeLists.txt index 52f86831..078cd4bc 100644 --- a/tracker-pt/CMakeLists.txt +++ b/tracker-pt/CMakeLists.txt @@ -1,4 +1,5 @@ include(opentrack-opencv) +find_package(OpenCV QUIET) 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 8d731c9d..f7a6cc7f 100644 --- a/tracker-pt/module/CMakeLists.txt +++ b/tracker-pt/module/CMakeLists.txt @@ -1,4 +1,5 @@ include(opentrack-opencv) +find_package(OpenCV QUIET) if(OpenCV_FOUND) otr_module(tracker-pt) target_link_libraries(${self} opentrack-tracker-pt-base) |