summaryrefslogtreecommitdiffhomepage
path: root/cv
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-06 10:43:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-06 10:44:58 +0200
commita1ab5d158ae2f4c5ce5e88602c798b86414ea67c (patch)
tree71ed00136ac7753198073a450ad988a81fb7892d /cv
parent68c76be3a657181732beb37701e7dbe1ce9e1905 (diff)
cv: fix variable scope
Issue: #926
Diffstat (limited to 'cv')
-rw-r--r--cv/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt
index 477047e7..12935f1b 100644
--- a/cv/CMakeLists.txt
+++ b/cv/CMakeLists.txt
@@ -1,4 +1,5 @@
include(opentrack-opencv)
+find_package(OpenCV QUIET)
if(OpenCV_FOUND)
otr_module(cv STATIC)
target_link_libraries(${self} opencv_videoio opencv_core opentrack-video)