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:
Brad King 2014-02-12 10:49:10 -05:00
parent 5104f55d3f
commit 77b2e6f1d8
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&