summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-02-28 19:45:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-02-28 19:45:58 (GMT)
commite5e2e6a3b3c6d8a2b2be1b3a4f7333b2599c1f6f (patch)
tree3046b0e9bd5d911e8efea740b0ec6f5b0d35c806 /Source/cmMakefile.cxx
parentecbec236b1fae48bfe625338fff3b0cd1e70714c (diff)
downloadCMake-e5e2e6a3b3c6d8a2b2be1b3a4f7333b2599c1f6f.zip
CMake-e5e2e6a3b3c6d8a2b2be1b3a4f7333b2599c1f6f.tar.gz
CMake-e5e2e6a3b3c6d8a2b2be1b3a4f7333b2599c1f6f.tar.bz2
BUG: cleanup paths in GetSourceFile to handle bug 2724
Diffstat (limited to 'Source/cmMakefile.cxx')
-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);