diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-06-27 20:42:57 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-06-27 20:42:57 (GMT) |
commit | 4b12e5a3069367fe0c28c642b4f622fee83a7480 (patch) | |
tree | ba4d619ed38a2075a81585332826da4b7c4507b7 /Source/cmMakefile.cxx | |
parent | 4d6433bdf6d9d531901c093d382ef80519063e29 (diff) | |
download | CMake-4b12e5a3069367fe0c28c642b4f622fee83a7480.zip CMake-4b12e5a3069367fe0c28c642b4f622fee83a7480.tar.gz CMake-4b12e5a3069367fe0c28c642b4f622fee83a7480.tar.bz2 |
bug fix
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index d41e83a..00f4420 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1323,7 +1323,7 @@ cmData* cmMakefile::LookupData(const char* name) const cmSourceFile* cmMakefile::GetSource(const char* sourceName) const { - std::string s = sourceName; + std::string s = cmSystemTools::GetFilenameName(sourceName); std::string ext; std::string::size_type pos = s.rfind('.'); if(pos != std::string::npos) |