We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05d8f53 + 681468b commit 0a0da05Copy full SHA for 0a0da05
2 files changed
CMakeLists.txt
@@ -47,10 +47,6 @@ if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
47
"None" "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
48
endif ()
49
50
-# Set -Wall -Wextra -Werror
51
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
52
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")
53
-
54
# Do not disable assertions based on CMAKE_BUILD_TYPE.
55
foreach (_build_type "Release" "MinSizeRel" "RelWithDebInfo")
56
foreach (_lang C CXX)
GNUmakefile
@@ -83,8 +83,8 @@ ifeq ($(BUILD),yes)
83
endif
84
85
PYTHON = python3
86
-C_FLAGS_OPT = -Wall -Wextra -Werror
87
-CXX_FLAGS_OPT = -Wall -Wextra -Werror
+C_FLAGS_OPT =
+CXX_FLAGS_OPT =
88
export C_FLAGS_OPT
89
export CXX_FLAGS_OPT
90
0 commit comments