diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-11 18:35:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-11 20:21:04 +0100 |
commit | 15a8ad060653a521bcd175b495455a0e09377050 (patch) | |
tree | 03ffc76a92ba44aee55a7974de83973ec11d97c9 /tracker-kinect-face/CMakeLists.txt | |
parent | 2e946e830ae52b19973745b8d67915cd0d8c767b (diff) |
cv/video-widget: make it work without opencv
Diffstat (limited to 'tracker-kinect-face/CMakeLists.txt')
-rw-r--r-- | tracker-kinect-face/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 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}) |