aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openimageio/nocpp-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openimageio/nocpp-error.patch')
-rw-r--r--testing/openimageio/nocpp-error.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/openimageio/nocpp-error.patch b/testing/openimageio/nocpp-error.patch
new file mode 100644
index 0000000000..9101322186
--- /dev/null
+++ b/testing/openimageio/nocpp-error.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -55,6 +55,8 @@
+ endif ()
+ endif ()
+
++add_definitions("-Wno-error=cpp")
++
+ message (STATUS "CMAKE_CXX_COMPILER is ${CMAKE_CXX_COMPILER}")
+ message (STATUS "CMAKE_CXX_COMPILER_ID is ${CMAKE_CXX_COMPILER_ID}")