blob: 0579754ec48dc9291fd721cbd513bcee431a065b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/cmake/maintainer.cmake
+++ b/cmake/maintainer.cmake
@@ -207,12 +207,6 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# -Wzero-as-null-pointer-constant
ENDIF()
-# Turn on Werror (warning => error) when using maintainer mode.
-IF(MYSQL_MAINTAINER_MODE)
- STRING_APPEND(MY_C_WARNING_FLAGS " -Werror")
- STRING_APPEND(MY_CXX_WARNING_FLAGS " -Werror")
-ENDIF()
-
# Set warning flags for GCC/Clang
IF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
STRING_APPEND(CMAKE_C_FLAGS " ${MY_C_WARNING_FLAGS}")
|