BUG: cleanup paths in GetSourceFile to handle bug 2724

This commit is contained in:
Ken Martin 2007-02-28 14:45:58 -05:00
parent ecbec236b1
commit e5e2e6a3b3
1 changed files with 1 additions and 0 deletions

View File

@ -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);