vcpkg/ports/libprotobuf-mutator/werror.patch
2024-11-19 18:55:42 -08:00

14 lines
489 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2e4b78e..4541d17 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -84,7 +84,7 @@ unset(CMAKE_REQUIRED_FLAGS)
check_cxx_compiler_flag(-Wstring-conversion LIB_PROTO_MUTATOR_HAS_WSTRING_CONVERSION)
if (NOT MSVC)
- set(EXTRA_FLAGS "-fno-exceptions -Werror -Wall")
+ set(EXTRA_FLAGS "-fno-exceptions")
if (LIB_PROTO_MUTATOR_HAS_WSTRING_CONVERSION)
set(EXTRA_FLAGS "${EXTRA_FLAGS} -Wstring-conversion")
endif()