diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-26 23:47:57 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-26 23:47:57 +0100 |
commit | 6625d6b905e75ab5d740f0c738dbc1da7212665d (patch) | |
tree | 44f004ac2030585b7f8c7e5a81aae68630fd7899 /cmake/plugin.cmake | |
parent | cdb8cafb2731578cef674de3f71ff65e9ac055ae (diff) | |
download | mariadb-git-6625d6b905e75ab5d740f0c738dbc1da7212665d.tar.gz |
Fix failing test cases on pushbuild
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r-- | cmake/plugin.cmake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index f4aaeb651d7..2c00c71c3ee 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -113,9 +113,12 @@ MACRO(MYSQL_ADD_PLUGIN) SET (MYSQLD_STATIC_PLUGIN_LIBS ${MYSQLD_STATIC_PLUGIN_LIBS} ${target} CACHE INTERNAL "" FORCE) - IF(NOT ARG_MANDATORY) + IF(ARG_MANDATORY) + SET(${with_var} ON CACHE INTERNAL "Link ${plugin} statically to the server" + FORCE) + ELSE() SET(${with_var} ON CACHE BOOL "Link ${plugin} statically to the server" - FORCE) + FORCE) ENDIF() IF(ARG_MANDATORY) |