mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 15:58:59 +08:00
1000d8291b
* [cppmicroservices] Add new port (fix #5801) * turn off linker error checking for static building * remove comments and include * werror flag patch * fix cmake targets
14 lines
643 B
Diff
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)
|