Browse Source

BUG: cleanup paths in GetSourceFile to handle bug 2724

Ken Martin 19 years ago
parent
commit
e5e2e6a3b3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmMakefile.cxx

+ 1 - 0
Source/cmMakefile.cxx

@@ -1994,6 +1994,7 @@ cmSourceFile* cmMakefile::GetSource(const char* sourceName) const
       path += cmSystemTools::GetFilenamePath(sourceName);
       }
     }
+  path = cmSystemTools::CollapseFullPath(path.c_str());
 
   std::string sname = 
     cmSystemTools::GetFilenameWithoutLastExtension(sourceName);