mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05: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 += " ";
|
||||||
flags += sysrootFlag;
|
flags += sysrootFlag;
|
||||||
flags += " ";
|
flags += " ";
|
||||||
flags += sysroot;
|
flags += this->Convert(sysroot, NONE, SHELL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (deploymentTargetFlag && *deploymentTargetFlag &&
|
if (deploymentTargetFlag && *deploymentTargetFlag &&
|
||||||
|
|||||||
Reference in New Issue
Block a user