mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user