summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wiiyourself/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-wii/wiiyourself/CMakeLists.txt')
-rw-r--r--tracker-wii/wiiyourself/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-wii/wiiyourself/CMakeLists.txt b/tracker-wii/wiiyourself/CMakeLists.txt
index fe6d62e8..91fa245a 100644
--- a/tracker-wii/wiiyourself/CMakeLists.txt
+++ b/tracker-wii/wiiyourself/CMakeLists.txt
@@ -1,4 +1,7 @@
if(WIN32)
otr_module(wiiyourself STATIC NO-COMPAT NO-QT)
target_link_libraries(${self} setupapi hid winmm)
+ if(CMAKE_COMPILER_IS_CLANGXX OR CMAKE_COMPILER_IS_GNUCXX)
+ target_compile_options(${self} PRIVATE -Wno-error)
+ endif()
endif()