summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2011-05-26 10:18:21 +0200
committerBjorn Munch <bjorn.munch@oracle.com>2011-05-26 10:18:21 +0200
commitb5009ee6bef7c074ff067ef2aab5f63f00a7ee54 (patch)
treef13e6b8e8854cbfb076ed17c518c5b7be8102550 /cmake
parentc41e8663571973c316b40ee8ee974c22f014f32f (diff)
parent0bb2424f4dd9c9ee5a09057ac0a3ef52f4b17667 (diff)
downloadmariadb-git-b5009ee6bef7c074ff067ef2aab5f63f00a7ee54.tar.gz
merge from 5.5-mtr
Diffstat (limited to 'cmake')
-rw-r--r--cmake/configure.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/configure.pl b/cmake/configure.pl
index b24afa034c7..bf872264953 100644
--- a/cmake/configure.pl
+++ b/cmake/configure.pl
@@ -190,6 +190,11 @@ foreach my $option (@ARGV)
$cmakeargs = $cmakeargs." \"-DWITH_COMMENT=".substr($option,13)."\"";
next;
}
+ if ($option =~ /with-gcov/)
+ {
+ $cmakeargs = $cmakeargs." -DENABLE_GCOV=ON";
+ next;
+ }
$option = uc($option);
$option =~ s/-/_/g;