Files
MINGW-packages/mingw-w64-openimageio/0017-cmake-compiler-remove-Werror.patch
2020-10-08 11:36:28 +03:00

16 lines
506 B
Diff

--- oiio-Release-2.1.18.1.orig/src/cmake/compiler.cmake
+++ oiio-Release-2.1.18.1/src/cmake/compiler.cmake
@@ -83,12 +83,6 @@
if (EXTRA_WARNINGS)
add_compile_options ("-Wextra")
endif ()
- if (STOP_ON_WARNING OR DEFINED ENV{CI})
- add_compile_options ("-Werror")
- # N.B. Force CI builds (Travis defines $CI) to use -Werror, even if
- # STOP_ON_WARNING has been switched off by default, which we may do
- # in release branches.
- endif ()
endif ()