mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 05:52:04 +08:00
16 lines
613 B
Diff
16 lines
613 B
Diff
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)
|
|
- target_compile_options(${PROJECT_NAME} PRIVATE /W4 /WX /wd4068)
|
|
+ target_compile_options(${PROJECT_NAME} PRIVATE /W4 /wd4068)
|
|
else()
|
|
- 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()
|
|
|