ERR: Missed one EscapeSpaces call.

This commit is contained in:
Brad King 2001-04-09 10:53:17 -04:00
parent e0da3ef275
commit a04fa127a8
1 changed files with 2 additions and 1 deletions

View File

@ -430,7 +430,8 @@ void cmUnixMakefileGenerator::OutputCustomRules(std::ostream& fout)
commandFiles.m_Outputs.begin(); commandFiles.m_Outputs.begin();
output != commandFiles.m_Outputs.end(); ++output) 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. // Write out all the dependencies for this rule.
for(std::set<std::string>::const_iterator d = for(std::set<std::string>::const_iterator d =
commandFiles.m_Depends.begin(); commandFiles.m_Depends.begin();