diff options
author | Brad King <brad.king@kitware.com> | 2014-02-12 15:49:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-12 15:49:10 (GMT) |
commit | 77b2e6f1d838205550f46501b682895d8b38484e (patch) | |
tree | 582613ebba9b2cf0f8f5acd8e211e0c2747dafcf | |
parent | 5104f55d3f9cf2f9b2537364d1b9a5c86d2f790b (diff) | |
download | CMake-77b2e6f1d838205550f46501b682895d8b38484e.zip CMake-77b2e6f1d838205550f46501b682895d8b38484e.tar.gz CMake-77b2e6f1d838205550f46501b682895d8b38484e.tar.bz2 |
OS X: Escape path given to -isysroot flag
Ensure that paths containing spaces or other special characters are
escaped correctly on the command line.
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index b8b7035..aca195c 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -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 && |