BUG: try to make sure a depend file only has one rule

This commit is contained in:
Bill Hoffman 2002-04-19 09:00:35 -04:00
parent 75f9434374
commit 719a334f84
1 changed files with 1 additions and 1 deletions

View File

@ -1364,7 +1364,7 @@ void cmUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout)
dep != (*source)->GetDepends().end(); ++dep)
{
std::string dependfile =
this->ConvertToOutputPath(dep->c_str());
this->ConvertToOutputPath(cmSystemTools::CollapseFullPath(dep->c_str()).c_str());
if(emitted.insert(dependfile).second)
{
fout << " \\\n" << dependfile ;