Commit b054e4bd authored by Sergei Golubchik's avatar Sergei Golubchik

bugfix: disabling partitioning in already built tree

that didn't quite work, WITH_PARTITION_STORAGE_ENGINE
was not undefined
parent 88cebbdf
...@@ -104,6 +104,7 @@ MACRO(MYSQL_ADD_PLUGIN) ...@@ -104,6 +104,7 @@ MACRO(MYSQL_ADD_PLUGIN)
ELSE() ELSE()
SET(with_var "WITH_${plugin}") SET(with_var "WITH_${plugin}")
ENDIF() ENDIF()
UNSET(${with_var} CACHE)
IF(NOT ARG_DEPENDENCIES) IF(NOT ARG_DEPENDENCIES)
SET(ARG_DEPENDENCIES) SET(ARG_DEPENDENCIES)
...@@ -218,8 +219,6 @@ MACRO(MYSQL_ADD_PLUGIN) ...@@ -218,8 +219,6 @@ MACRO(MYSQL_ADD_PLUGIN)
ENDIF() ENDIF()
ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES}) ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES})
UNSET(${with_var} CACHE)
SET_TARGET_PROPERTIES(${target} PROPERTIES SET_TARGET_PROPERTIES(${target} PROPERTIES
OUTPUT_NAME "${ARG_MODULE_OUTPUT_NAME}") OUTPUT_NAME "${ARG_MODULE_OUTPUT_NAME}")
# Install dynamic library # Install dynamic library
......
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