diff options
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r-- | cmake/plugin.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index f312cd2d4e8..f4aaeb651d7 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -111,10 +111,9 @@ MACRO(MYSQL_ADD_PLUGIN) # Update mysqld dependencies SET (MYSQLD_STATIC_PLUGIN_LIBS ${MYSQLD_STATIC_PLUGIN_LIBS} - ${target} CACHE INTERNAL "") + ${target} CACHE INTERNAL "" FORCE) - - IF(ARG_STORAGE_ENGINE) + IF(NOT ARG_MANDATORY) SET(${with_var} ON CACHE BOOL "Link ${plugin} statically to the server" FORCE) ENDIF() |