From 7b6beef9e7f44171955d96c29a545e55a41ecb0f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 20 Feb 2015 14:21:27 +0100 Subject: disable -Werror in MYSQL_MAINTAINER_MODE=ON until all plugins are ready only activate it on MYSQL_MAINTAINER_MODE=ERRON --- cmake/maintainer.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/maintainer.cmake') diff --git a/cmake/maintainer.cmake b/cmake/maintainer.cmake index 872d61d9aac..625ecb5a221 100644 --- a/cmake/maintainer.cmake +++ b/cmake/maintainer.cmake @@ -35,7 +35,7 @@ IF(CMAKE_CXX_COMPILER_ID MATCHES "Clang") ENDIF() # Turn on Werror (warning => error) when using maintainer mode. -IF(MYSQL_MAINTAINER_MODE MATCHES "ON") +IF(MYSQL_MAINTAINER_MODE MATCHES "ERR") SET(MY_C_WARNING_FLAGS "${MY_C_WARNING_FLAGS} -DFORCE_INIT_OF_VARS -Werror") SET(MY_CXX_WARNING_FLAGS "${MY_CXX_WARNING_FLAGS} -DFORCE_INIT_OF_VARS -Werror") ENDIF() -- cgit v1.2.1