vcpkg/ports/libdivide/no-werror.patch

20 lines
765 B
Diff
Raw Normal View History

2023-03-10 20:20:57 +01:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7800a13..f01a139 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,10 +15,10 @@ include(CMakeSanitize)
# Maximum warnings level & warnings as error
add_compile_options(
- "$<$<CXX_COMPILER_ID:MSVC>:/W4;/WX>"
- "$<$<CXX_COMPILER_ID:GNU>:-Wall;-Wextra;-pedantic;-Werror>"
- "$<$<CXX_COMPILER_ID:Clang>:-Wall;-Wextra;-pedantic;-Werror>"
- "$<$<CXX_COMPILER_ID:AppleClang>:-Wall;-Wextra;-pedantic;-Werror>"
+ "$<$<CXX_COMPILER_ID:MSVC>:/W4>"
+ "$<$<CXX_COMPILER_ID:GNU>:-Wall;-Wextra;-pedantic>"
+ "$<$<CXX_COMPILER_ID:Clang>:-Wall;-Wextra;-pedantic>"
+ "$<$<CXX_COMPILER_ID:AppleClang>:-Wall;-Wextra;-pedantic>"
)
# Build options ################################################