summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-02-02 18:17:05 +0100
committerStéphane Lenclud <github@lenclud.com>2019-02-07 13:24:13 +0100
commit32c809f5e0c6a9b6a5f202fffe5d034125957551 (patch)
treef078d510799a0a15905ee75c7cc6552dfc127954
parentba8796acda06c9ae5f528dbbf655c714844d5429 (diff)
Kinect: Installing SDK binaries.
-rw-r--r--tracker-kinect-face/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tracker-kinect-face/CMakeLists.txt b/tracker-kinect-face/CMakeLists.txt
index fca1e495..cbdc2a97 100644
--- a/tracker-kinect-face/CMakeLists.txt
+++ b/tracker-kinect-face/CMakeLists.txt
@@ -25,7 +25,12 @@ if (WIN32)
endif()
# Link against Kinect SDK libraries
- target_link_libraries(opentrack-tracker-kinect-face ${KINECTSDK20_DIR}/lib/${kinect-arch-dir}/kinect20.lib ${KINECTSDK20_DIR}/lib/${kinect-arch-dir}/kinect20.face.lib)
+ target_link_libraries(opentrack-tracker-kinect-face ${KINECTSDK20_DIR}/lib/${kinect-arch-dir}/Kinect20.lib ${KINECTSDK20_DIR}/lib/${kinect-arch-dir}/Kinect20.Face.lib)
+
+ # Install Kinect Face DLL
+ install(FILES ${KINECTSDK20_DIR}/Redist/Face/${kinect-arch-dir}/Kinect20.Face.dll DESTINATION ./modules/ PERMISSIONS ${opentrack-perms-exec})
+ # Install Kinect Face Database
+ install(DIRECTORY ${KINECTSDK20_DIR}/Redist/Face/${kinect-arch-dir}/NuiDatabase DESTINATION ./modules/)
endif()