vcpkg/ports/aws-crt-cpp/no-werror.patch

16 lines
613 B
Diff
Raw Normal View History

2022-12-29 04:34:26 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt (revision f2adef31d778cfe90b8a5bb377425f825ebf92f0)
+++ b/CMakeLists.txt (date 1675009099302)
@@ -337,9 +337,9 @@
# set extra warning flags
if(AWS_WARNINGS_ARE_ERRORS)
if(MSVC)
2022-12-29 04:34:26 +08:00
- target_compile_options(${PROJECT_NAME} PRIVATE /W4 /WX /wd4068)
+ target_compile_options(${PROJECT_NAME} PRIVATE /W4 /wd4068)
else()
2022-12-29 04:34:26 +08:00
- target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic -Werror)
+ target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-long-long -pedantic)
endif()
endif()
2022-12-29 04:34:26 +08:00