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.
This commit is contained in:
parent
2e2f3b1fc1
commit
e1837cc0d8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user