diff options
-rw-r--r-- | tracker-rs/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tracker-tobii-eyex/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tracker-rs/CMakeLists.txt b/tracker-rs/CMakeLists.txt index 7fda508e..e0e4d674 100644 --- a/tracker-rs/CMakeLists.txt +++ b/tracker-rs/CMakeLists.txt @@ -2,7 +2,7 @@ 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 + add_definitions(-fpermissive -Wno-error) # for SDK headers endif() otr_module(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}) diff --git a/tracker-tobii-eyex/CMakeLists.txt b/tracker-tobii-eyex/CMakeLists.txt index 31125e1a..0e8d141c 100644 --- a/tracker-tobii-eyex/CMakeLists.txt +++ b/tracker-tobii-eyex/CMakeLists.txt @@ -1,6 +1,9 @@ if(WIN32) set(SDK_TOBII_EYEX "" CACHE PATH "") if(SDK_TOBII_EYEX) + if(CMAKE_COMPILER_IS_GNUCXX) + add_definitions(-Wno-error) + endif() set(porked NO-INSTALL) otr_module(tracker-tobii-eyex ${porked}) target_link_libraries(opentrack-tracker-tobii-eyex opentrack-spline) |