summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@tehran.lain.pl>2019-05-06 01:40:43 +0000
committerGitHub <noreply@github.com>2019-05-06 01:40:43 +0000
commitddfca5ddf1a26590855b5f238f948d51a9ada806 (patch)
treeb20f34135fca76561229f744694158089f2880d5 /tracker-kinect-face/CMakeLists.txt
parentd34276dd7a5346413bd6f25d324d052dbfb600c7 (diff)
parentf65ee6280df9fd9b583bc9fff12dc880a42c3435 (diff)
Merge pull request #946 from opentrack/fix-kinect-IR-sensor-registration
Make sure Kinect IR sensor is not registered if no Kinect is found
Diffstat (limited to 'tracker-kinect-face/CMakeLists.txt')
-rw-r--r--tracker-kinect-face/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-kinect-face/CMakeLists.txt b/tracker-kinect-face/CMakeLists.txt
index be764369..31b52ff7 100644
--- a/tracker-kinect-face/CMakeLists.txt
+++ b/tracker-kinect-face/CMakeLists.txt
@@ -7,6 +7,9 @@ if (WIN32 AND opentrack-intel)
# Register our module
otr_module(tracker-kinect-face)
+ target_sources(${self} PUBLIC "../video-opencv/camera-names.cpp")
+ target_link_libraries(${self} strmiids)
+
if(MSVC)
# workaround warning in SDK
target_compile_options(${self} PRIVATE "-wd4471")