summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rs/CMakeLists.txt')
-rw-r--r--tracker-rs/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-rs/CMakeLists.txt b/tracker-rs/CMakeLists.txt
index 6bfc8515..109613d6 100644
--- a/tracker-rs/CMakeLists.txt
+++ b/tracker-rs/CMakeLists.txt
@@ -1,6 +1,9 @@
set(SDK_REALSENSE "$ENV{RSSDK_DIR}" CACHE PATH "Intel RealSense SDK dir")
if(WIN32 AND SDK_REALSENSE)
+ if(CMAKE_COMPILER_IS_GNUCC)
+ add_definitions(-fpermissive) # for SDK headers
+ endif()
opentrack_boilerplate(opentrack-tracker-rs)
install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/redist/intel_rs_sdk_runtime_websetup_10.0.26.0396.exe" DESTINATION ${opentrack-contrib-pfx} ${opentrack-perms})
install(FILES "${CMAKE_SOURCE_DIR}/tracker-rs/redist/RS_EULA.rtf" DESTINATION ${opentrack-contrib-pfx} ${opentrack-perms})