diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-11-20 12:57:23 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-11-23 16:02:56 +0100 |
commit | e4b88235b51966855a4973fd551123cb02fac0c9 (patch) | |
tree | 1a40b74e405bd0a2242c7cb42b29646f52a39865 /configure.cmake | |
parent | 679aa122bf7f94c773c6553f5a7236aae3982bb3 (diff) | |
download | mariadb-git-e4b88235b51966855a4973fd551123cb02fac0c9.tar.gz |
cmake: rename symbols used internally by check_compiler_flag.cmake
(that is MY_CHECK_C_COMPILER_FLAG, MY_CHECK_CXX_COMPILER_FLAG,
MY_CHECK_AND_SET_COMPILER_FLAG)
This is to have a clear "internal" name prefix and to avoid
mixing them with hand-named symbols
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake index aaf0268888a..dba5a3bf79c 100644 --- a/configure.cmake +++ b/configure.cmake @@ -276,7 +276,7 @@ FIND_PACKAGE (Threads) FUNCTION(MY_CHECK_PTHREAD_ONCE_INIT) MY_CHECK_C_COMPILER_FLAG("-Werror") - IF(NOT HAVE_C__Werror) + IF(NOT have_C__Werror) RETURN() ENDIF() SET(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -Werror") |