summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-03-03 15:48:54 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-03-03 15:48:54 +0100
commitc903a13e6af724b1d9605171cc9e0e0af1ca4b6f (patch)
tree30accf6d1e4b7a7f880e4172484c237db552e451 /cmake
parent44084ea4b3d5779b3b3e3f5eb6fe6e96e66a3a3a (diff)
parent273d74eaa586117951113a372249c1cd0bbdb842 (diff)
downloadmariadb-git-c903a13e6af724b1d9605171cc9e0e0af1ca4b6f.tar.gz
merge
Diffstat (limited to 'cmake')
-rw-r--r--cmake/configure.pl6
-rw-r--r--cmake/plugin.cmake5
2 files changed, 11 insertions, 0 deletions
diff --git a/cmake/configure.pl b/cmake/configure.pl
index 7f21810a8f2..fba417365fc 100644
--- a/cmake/configure.pl
+++ b/cmake/configure.pl
@@ -179,6 +179,11 @@ foreach my $option (@ARGV)
$cmakeargs = $cmakeargs." -DMYSQL_DATADIR=".substr($option,14);
next;
}
+ if ($option =~ /with-debug=full/)
+ {
+ $cmakeargs = $cmakeargs." -DWITH_DEBUG_FULL=1";
+ next;
+ }
$option = uc($option);
$option =~ s/-/_/g;
@@ -186,5 +191,6 @@ foreach my $option (@ARGV)
}
print("configure.pl : calling cmake $srcdir $cmakeargs\n");
+unlink("CMakeCache.txt");
my $rc = system("cmake $srcdir $cmakeargs");
exit($rc);
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