This commit is contained in:
Ken Martin 2002-06-27 16:25:19 -04:00
parent 7cd492d443
commit 4d6433bdf6
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ bool cmSourceFilesCommand::InitialPass(std::vector<std::string> const& argsIn)
generated = 1;
continue;
}
cmSourceFile* sf = m_Makefile->GetSource(copy.c_str());
cmSourceFile* sf = m_Makefile->GetSource(cmSystemTools::GetFilenameName(copy).c_str());
if(sf)
{
// if the source file is already in the makefile,