summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-29 16:18:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-29 16:18:38 +0200
commite954828587e56b7c2057f24041f123fa4197ee02 (patch)
tree1d75d3dc149f25ab2d742490e7e99e06f5c17d31
parentc4942d72935cacc150815f2f5221c71fc3f05bc1 (diff)
add -Wno-error where applicable
-rw-r--r--tracker-rs/CMakeLists.txt2
-rw-r--r--tracker-tobii-eyex/CMakeLists.txt3
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)