OS X: Escape path given to -isysroot flag
Ensure that paths containing spaces or other special characters are escaped correctly on the command line.
This commit is contained in:
parent
5104f55d3f
commit
77b2e6f1d8
|
@ -1972,7 +1972,7 @@ void cmLocalGenerator::AddArchitectureFlags(std::string& flags,
|
|||
flags += " ";
|
||||
flags += sysrootFlag;
|
||||
flags += " ";
|
||||
flags += sysroot;
|
||||
flags += this->Convert(sysroot, NONE, SHELL);
|
||||
}
|
||||
|
||||
if (deploymentTargetFlag && *deploymentTargetFlag &&
|
||||
|
|
Loading…
Reference in New Issue