summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFilesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-06-27 20:42:57 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-06-27 20:42:57 (GMT)
commit4b12e5a3069367fe0c28c642b4f622fee83a7480 (patch)
treeba4d619ed38a2075a81585332826da4b7c4507b7 /Source/cmSourceFilesCommand.cxx
parent4d6433bdf6d9d531901c093d382ef80519063e29 (diff)
downloadCMake-4b12e5a3069367fe0c28c642b4f622fee83a7480.zip
CMake-4b12e5a3069367fe0c28c642b4f622fee83a7480.tar.gz
CMake-4b12e5a3069367fe0c28c642b4f622fee83a7480.tar.bz2
bug fix
Diffstat (limited to 'Source/cmSourceFilesCommand.cxx')
-rw-r--r--Source/cmSourceFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFilesCommand.cxx b/Source/cmSourceFilesCommand.cxx
index 8117ee2..63d06e5 100644
--- a/Source/cmSourceFilesCommand.cxx
+++ b/Source/cmSourceFilesCommand.cxx
@@ -58,7 +58,7 @@ bool cmSourceFilesCommand::InitialPass(std::vector<std::string> const& argsIn)
generated = 1;
continue;
}
- cmSourceFile* sf = m_Makefile->GetSource(cmSystemTools::GetFilenameName(copy).c_str());
+ cmSourceFile* sf = m_Makefile->GetSource(copy.c_str());
if(sf)
{
// if the source file is already in the makefile,