summaryrefslogtreecommitdiff
path: root/cmake/configure.pl
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-11-19 19:52:07 +0200
committerMonty <monty@mariadb.org>2018-12-09 20:49:05 +0200
commit84c0563a27725c92730f3e21be613f9937bdbe2f (patch)
treeed67ee1a76c9d00d66abdbbd9b25625dcbf3d40b /cmake/configure.pl
parentc8250ed6c5895d9cf520acf1f44889fc2e760cb5 (diff)
downloadmariadb-git-84c0563a27725c92730f3e21be613f9937bdbe2f.tar.gz
Fixed BUILD scripts to by default work with galera and tokudb
Bascially this means that all builds with BUILD scripts are done with --with-jemalloc=NO # Required by tokudb --with-ssl # Required on OpenSuse 10.5 to get galera to work
Diffstat (limited to 'cmake/configure.pl')
-rw-r--r--cmake/configure.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/configure.pl b/cmake/configure.pl
index 0818b07debd..dfd961ee085 100644
--- a/cmake/configure.pl
+++ b/cmake/configure.pl
@@ -190,6 +190,16 @@ foreach my $option (@ARGV)
$cmakeargs = $cmakeargs." -DCMAKE_BUILD_TYPE=Debug -DSECURITY_HARDENED=OFF";
next;
}
+ if($option =~ /with-(.*)=(.*)/)
+ {
+ $cmakeargs = $cmakeargs. " -DWITH_" . uc($1) . "=" . uc($2);
+ next;
+ }
+ if($option =~ /without-(.*)=(.*)/)
+ {
+ $cmakeargs = $cmakeargs. " -DWITHOUT_" . uc($1) . "=" . uc($2);
+ next;
+ }
if($option =~ /prefix=/)
{
$cmake_install_prefix= substr($option, 7);