diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-22 15:37:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-22 15:41:13 +0100 |
commit | fd4365c87172212f944587cd74bbc8e409bade5c (patch) | |
tree | b14a5c85f43723d8528d3ce83c77d4e6803fc465 /tracker-rs | |
parent | 5890285123e82daf6ab6b8455a3ca4a2455e42f9 (diff) |
tracker/rs: fix for Coverity builds
Diffstat (limited to 'tracker-rs')
-rw-r--r-- | tracker-rs/CMakeLists.txt | 3 |
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}) |