diff options
author | vvaintroub <vvaintroub@xp> | 2010-01-29 03:07:00 +0100 |
---|---|---|
committer | vvaintroub <vvaintroub@xp> | 2010-01-29 03:07:00 +0100 |
commit | f719e51f8b317137fc7f380d290b4379d24aad06 (patch) | |
tree | a9f1b1d75a2a9c07a9e64b00dced3c3ddd5a03ab /cmake/plugin.cmake | |
parent | 051f769dc5352136f084670009b5f8f0b0d68592 (diff) | |
download | mariadb-git-f719e51f8b317137fc7f380d290b4379d24aad06.tar.gz |
Add windows system check cache that prevents tests from running, most are irrelevant anyway
Add cached variable WITH_XXX_STORAGE_ENGINE for dynamic plugins that can be static or
dynamic.
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r-- | cmake/plugin.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index 2c00c71c3ee..d6411641192 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -160,7 +160,11 @@ MACRO(MYSQL_ADD_PLUGIN) ENDIF() ADD_DEPENDENCIES(${target} GenError ${ARG_DEPENDENCIES}) - + IF(NOT ARG_MODULE_ONLY) + # set cached variable, e.g with checkbox in GUI + SET(${with_var} OFF CACHE BOOL "Link ${plugin} statically to the server" + FORCE) + ENDIF() SET_TARGET_PROPERTIES(${target} PROPERTIES OUTPUT_NAME "${ARG_MODULE_OUTPUT_NAME}") # Install dynamic library |