Commit e1837cc0 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Bug #52275 CMake configure wrapper does not handle

--with-comment correctly
      
Properly convert --with-comment
do not uppercase it, quote as it might contain spaces.
parent 2e2f3b1f
...@@ -185,6 +185,11 @@ foreach my $option (@ARGV) ...@@ -185,6 +185,11 @@ foreach my $option (@ARGV)
($option =~ /enable/ ? "1" : "0"); ($option =~ /enable/ ? "1" : "0");
next; next;
} }
if ($option =~ /with-comment=/)
{
$cmakeargs = $cmakeargs." \"-DWITH_COMMENT=".substr($option,13)."\"";
next;
}
$option = uc($option); $option = uc($option);
$option =~ s/-/_/g; $option =~ s/-/_/g;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment