Browse Source

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

Bill Hoffman 23 years ago
parent
commit
719a334f84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmUnixMakefileGenerator.cxx

+ 1 - 1
Source/cmUnixMakefileGenerator.cxx

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