summaryrefslogtreecommitdiffstats
path: root/graphics/opencollada/no_werror.diff
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/opencollada/no_werror.diff')
-rw-r--r--graphics/opencollada/no_werror.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/opencollada/no_werror.diff b/graphics/opencollada/no_werror.diff
new file mode 100644
index 0000000000..c76a7a8ffe
--- /dev/null
+++ b/graphics/opencollada/no_werror.diff
@@ -0,0 +1,11 @@
+--- DAEValidator/CMakeLists.txt.orig 2018-11-27 08:43:10.000000000 +1000
++++ DAEValidator/CMakeLists.txt 2023-07-22 10:17:56.130000000 +1000
+@@ -100,7 +100,7 @@
+ # C4820: 'bytes' bytes padding added after construct 'member_name'
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /Wall /WX /wd4505 /wd4514 /wd4592 /wd4710 /wd4711 /wd4820")
+ else ()
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
+ endif ()
+
+ add_custom_command(