summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-03-03 12:29:34 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-03-03 12:29:34 +0100
commit273d74eaa586117951113a372249c1cd0bbdb842 (patch)
treecb883ffd7d056d99712bf0a248cbb068e96287d5 /cmake/plugin.cmake
parent01ee0f967720c12e54f4156178ca87fd78d50be6 (diff)
downloadmariadb-git-273d74eaa586117951113a372249c1cd0bbdb842.tar.gz
Bug #51488 :missing features and change behavior in cmake runs compared to
autotools runs - Fix recognition of --with-debug=full in configure wrapper - Remove CMakeCache.txt in configure wrapper, to match the original - Fix recognition of max-no-ndb - Fix broken dependencies of mysql_fix_privilege_table.sql from mysql_system_tables.sql and mysql_system_tables_fix.sql - Add "distclean target" that informs user about appropriate bzr command
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r--cmake/plugin.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index d6411641192..30a7932a0d7 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -52,6 +52,11 @@ MACRO(MYSQL_ADD_PLUGIN)
SET(WITH_${plugin} 1)
ENDIF()
+ IF(WITH_MAX_NO_NDB)
+ SET(WITH_MAX 1)
+ SET(WITHOUT_NDBCLUSTER 1)
+ ENDIF()
+
IF(WITH_${plugin}_STORAGE_ENGINE
OR WITH_{$plugin}
OR WITH_ALL