Commit 31548075 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix error with cmake 2.6

parent cd1501a1
......@@ -197,11 +197,11 @@ MACRO (MYSQL_CHECK_READLINE)
# Handle mutual exclusion of WITH_READLINE/WITH_LIBEDIT variables
# We save current setting to recognize when user switched between
# WITH_READLINE and WITH_LIBEDIT
IF(WITH_READLINE AND SAVE_READLINE_SETTING MATCHES "WITH_LIBEDIT"
OR NOT SAVE_READLINE_SETTING )
IF(WITH_READLINE AND (SAVE_READLINE_SETTING MATCHES "WITH_LIBEDIT"
OR NOT SAVE_READLINE_SETTING))
SET(WITH_LIBEDIT OFF CACHE BOOL "Use bundled libedit" FORCE)
ELSEIF(WITH_LIBEDIT AND SAVE_READLINE_SETTING MATCHES "WITH_READLINE"
OR NOT SAVE_READLINE_SETTING )
ELSEIF(WITH_LIBEDIT AND (SAVE_READLINE_SETTING MATCHES "WITH_READLINE"
OR NOT SAVE_READLINE_SETTING))
SET(WITH_READLINE OFF CACHE BOOL "Use bundled readline" FORCE)
ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment