22 lines
986 B
Diff
Executable file
22 lines
986 B
Diff
Executable file
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0f5abcb..aeae310 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -184,7 +184,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${QUIC_OUTPUT_DIR})
|
|
set(QUIC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/inc)
|
|
|
|
if (WIN32)
|
|
- set(QUIC_WARNING_FLAGS /WX /W4 /sdl CACHE INTERNAL "")
|
|
+ set(QUIC_WARNING_FLAGS /W4 /sdl CACHE INTERNAL "")
|
|
set(QUIC_COMMON_FLAGS "")
|
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
|
list(APPEND QUIC_COMMON_FLAGS /MP)
|
|
@@ -193,7 +193,7 @@ if (WIN32)
|
|
else()
|
|
set(QUIC_COMMON_FLAGS "")
|
|
set(QUIC_COMMON_DEFINES _GNU_SOURCE)
|
|
- set(QUIC_WARNING_FLAGS -Werror -Wall -Wextra -Wformat=2 -Wno-type-limits
|
|
+ set(QUIC_WARNING_FLAGS -Wall -Wextra -Wformat=2 -Wno-type-limits
|
|
-Wno-unknown-pragmas -Wno-multichar -Wno-missing-field-initializers
|
|
CACHE INTERNAL "")
|
|
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0)
|