summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-04-09 14:53:17 (GMT)
committerBrad King <brad.king@kitware.com>2001-04-09 14:53:17 (GMT)
commita04fa127a805a1720430e06be8796d3d435161ff (patch)
tree1f0aea0a47a8854702b7959457021e33739158cf
parente0da3ef275682626ec2e23d1abd6cca752882b47 (diff)
downloadCMake-a04fa127a805a1720430e06be8796d3d435161ff.zip
CMake-a04fa127a805a1720430e06be8796d3d435161ff.tar.gz
CMake-a04fa127a805a1720430e06be8796d3d435161ff.tar.bz2
ERR: Missed one EscapeSpaces call.
-rw-r--r--Source/cmUnixMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 068d85f..d751bac 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -430,7 +430,8 @@ void cmUnixMakefileGenerator::OutputCustomRules(std::ostream& fout)
commandFiles.m_Outputs.begin();
output != commandFiles.m_Outputs.end(); ++output)
{
- fout << output->c_str() << ": " << source.c_str();
+ std::string src = cmSystemTools::EscapeSpaces(source.c_str());
+ fout << output->c_str() << ": " << src.c_str();
// Write out all the dependencies for this rule.
for(std::set<std::string>::const_iterator d =
commandFiles.m_Depends.begin();