Commit 07e713ff 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 545d6ff7
......@@ -185,6 +185,11 @@ foreach my $option (@ARGV)
($option =~ /enable/ ? "1" : "0");
next;
}
if ($option =~ /with-comment=/)
{
$cmakeargs = $cmakeargs." \"-DWITH_COMMENT=".substr($option,13)."\"";
next;
}
$option = uc($option);
$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