summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 4b81edb..e9b6750 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);