summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face/CMakeLists.txt
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-02-17 10:56:24 +0100
committerStéphane Lenclud <github@lenclud.com>2019-02-17 10:56:24 +0100
commit7f2103eb4c91b4c1801ddfefeda5ac8d8b7c49d8 (patch)
treeb033405e0f7c9de4ec4fd8351fee4c5f0a3b26c9 /tracker-kinect-face/CMakeLists.txt
parent5b23ad4e24a920636b70ad99872ce8221a3a4aac (diff)
Kinect: Copyright fix and minor cmake changes.
Diffstat (limited to 'tracker-kinect-face/CMakeLists.txt')
-rw-r--r--tracker-kinect-face/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/tracker-kinect-face/CMakeLists.txt b/tracker-kinect-face/CMakeLists.txt
index 92ed00c1..8eb064e7 100644
--- a/tracker-kinect-face/CMakeLists.txt
+++ b/tracker-kinect-face/CMakeLists.txt
@@ -16,17 +16,17 @@ if (WIN32 AND opentrack-intel)
target_include_directories(${self} SYSTEM PRIVATE "${SDK_KINECT20}/inc")
# Check processor architecture
- if(NOT opentrack-64bit)
- # 32 bits
- set(kinect-arch-dir "x86")
- else()
- # 64 bits
+ if(opentrack-64bit)
+ # 64 bits
set(kinect-arch-dir "x64")
+ else()
+ # 32 bits
+ set(kinect-arch-dir "x86")
endif()
# 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
+ # Link against video utilities, needed for video preview
target_link_libraries(${self} opentrack-video)
# Install Kinect Face DLL