summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r--tracker-kinect-face/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tracker-kinect-face/CMakeLists.txt b/tracker-kinect-face/CMakeLists.txt
index 48c51adb..be764369 100644
--- a/tracker-kinect-face/CMakeLists.txt
+++ b/tracker-kinect-face/CMakeLists.txt
@@ -44,6 +44,8 @@ if (WIN32 AND opentrack-intel)
# Optional OpenCV support
# Needed for Point Tracker to support Kinect V2 IR Sensor
include(opentrack-opencv)
+ find_package(OpenCV QUIET)
+
if(OpenCV_FOUND)
add_definitions(-DOTR_HAVE_OPENCV)
target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})