summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r--tracker-kinect-face/CMakeLists.txt5
-rw-r--r--tracker-kinect-face/kinect_face_tracker.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/tracker-kinect-face/CMakeLists.txt b/tracker-kinect-face/CMakeLists.txt
index 8e171a19..9cfede4d 100644
--- a/tracker-kinect-face/CMakeLists.txt
+++ b/tracker-kinect-face/CMakeLists.txt
@@ -1,7 +1,6 @@
# Kinect SDK is Windows only
if (WIN32 AND opentrack-intel)
- find_package(OpenCV QUIET)
- if(OpenCV_FOUND)
+ if(TRUE)
# Setup cache variable to Kinect SDK path
set(SDK_KINECT20 "$ENV{KINECTSDK20_DIR}" CACHE PATH "Kinect SDK path")
# If we have a valid SDK path, try build that tracker
@@ -29,7 +28,7 @@ if (WIN32 AND opentrack-intel)
# Link against Kinect SDK libraries
target_link_libraries(${self} "${SDK_KINECT20}/lib/${kinect-arch-dir}/Kinect20.lib" "${SDK_KINECT20}/lib/${kinect-arch-dir}/Kinect20.Face.lib")
# Link against OpenCV stuff, needed for video preview
- target_link_libraries(${self} opentrack-cv)
+ target_link_libraries(${self} opentrack-video)
# Install Kinect Face DLL
install(FILES "${SDK_KINECT20}/Redist/Face/${kinect-arch-dir}/Kinect20.Face.dll" DESTINATION "${opentrack-hier-pfx}" PERMISSIONS ${opentrack-perms-exec})
diff --git a/tracker-kinect-face/kinect_face_tracker.h b/tracker-kinect-face/kinect_face_tracker.h
index 6273cba1..672047b1 100644
--- a/tracker-kinect-face/kinect_face_tracker.h
+++ b/tracker-kinect-face/kinect_face_tracker.h
@@ -6,7 +6,7 @@
#include "api/plugin-api.hpp"
#include "compat/timer.hpp"
#include "compat/macros.hpp"
-#include "cv/video-widget.hpp"
+#include "video/video-widget.hpp"
// Kinect Header files
#include <Kinect.h>