summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 93dd422..66a78e1 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2257,7 +2257,7 @@ std::string cmLocalGenerator::EscapeForShell(const char* str)
{
for(const char* c = str; *c; ++c)
{
- if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';')
+ if(*c == '\\' || *c == '\'' || *c == '"' || *c == ';' || *c == ' ')
{
result += "\\";
}