pineapple-src/externals/vcpkg/ports/cppmicroservices/werror.patch
2022-07-23 03:01:36 +02:00

13 lines
643 B
Diff
Executable file

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24fd87e..974064c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -382,7 +382,7 @@ else()
usFunctionCheckCompilerFlags(-fstack-protector-all US_CXX_FLAGS)
endif()
- foreach(_cxxflag -Werror -Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align
+ foreach(_cxxflag -Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align
-Wwrite-strings -Woverloaded-virtual -Wnon-virtual-dtor -Wold-style-cast
-Wstrict-null-sentinel -Wsign-promo -fdiagnostics-show-option )
usFunctionCheckCompilerFlags(${_cxxflag} US_CXX_FLAGS)