only build if kinect SDK is available

This commit is contained in:
Brad Hefta-Gaub 2016-12-09 08:30:33 -08:00
parent 053b1bedc4
commit fdf9dc432d

View file

@ -7,11 +7,12 @@
#
if (WIN32)
set(TARGET_NAME hifiKinect)
setup_hifi_plugin(Script Qml Widgets)
link_hifi_libraries(shared controllers ui plugins input-plugins)
if (KINECT_FOUND)
set(TARGET_NAME hifiKinect)
setup_hifi_plugin(Script Qml Widgets)
link_hifi_libraries(shared controllers ui plugins input-plugins)
# need to setup appropriate externals...
target_kinect()
# need to setup appropriate externals...
target_kinect()
endif()
endif()