vcpkg/ports/cppmicroservices/werror.patch
Sascha Zelzer 1000d8291b [cppmicroservices] Add new port (fix #5801) (#6388)
* [cppmicroservices] Add new port (fix #5801)

* turn off linker error checking for static building

* remove comments and include

* werror flag patch

* fix cmake targets
2019-07-06 14:44:54 -07:00

14 lines
643 B
Diff

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)