diff options
Diffstat (limited to 'cmake/configure.pl')
-rw-r--r-- | cmake/configure.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/configure.pl b/cmake/configure.pl index 1dc8080810c..bf872264953 100644 --- a/cmake/configure.pl +++ b/cmake/configure.pl @@ -185,6 +185,16 @@ foreach my $option (@ARGV) ($option =~ /enable/ ? "1" : "0"); next; } + if ($option =~ /with-comment=/) + { + $cmakeargs = $cmakeargs." \"-DWITH_COMMENT=".substr($option,13)."\""; + next; + } + if ($option =~ /with-gcov/) + { + $cmakeargs = $cmakeargs." -DENABLE_GCOV=ON"; + next; + } $option = uc($option); $option =~ s/-/_/g; |