From 77b2e6f1d838205550f46501b682895d8b38484e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 12 Feb 2014 10:49:10 -0500 Subject: OS X: Escape path given to -isysroot flag Ensure that paths containing spaces or other special characters are escaped correctly on the command line. --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 && -- cgit v0.12