2022-12-29 04:34:26 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-02-02 04:52:03 +08:00
|
|
|
--- 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)
|
2023-02-02 04:52:03 +08:00
|
|
|
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)
|
2023-02-02 04:52:03 +08:00
|
|
|
endif()
|
|
|
|
endif()
|
2022-12-29 04:34:26 +08:00
|
|
|
|