From e5e2e6a3b3c6d8a2b2be1b3a4f7333b2599c1f6f Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 28 Feb 2007 14:45:58 -0500 Subject: [PATCH] BUG: cleanup paths in GetSourceFile to handle bug 2724 --- Source/cmMakefile.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 4b81edbcee..e9b6750611 100644 --- a/Source/cmMakefile.cxx +++ b/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);