summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex
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 /tracker-tobii-eyex
parentc4942d72935cacc150815f2f5221c71fc3f05bc1 (diff)
add -Wno-error where applicable
Diffstat (limited to 'tracker-tobii-eyex')
-rw-r--r--tracker-tobii-eyex/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)