BUG: The source file may be specified with an extension.

This commit is contained in:
Amitha Perera 2002-03-15 13:20:28 -05:00
parent 543b4ca1b9
commit c8924864fd
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ bool cmSourceFilesFlagsCommand::InitialPass(std::vector<std::string> const&
for(std::vector<cmSourceFile>::iterator i = l->second.begin();
i != l->second.end(); i++)
{
if(i->GetSourceName() == (*j))
if(i->GetSourceName() == (*j) || i->GetSourceName()+"."+i->GetSourceExtension() == (*j))
{
i->SetCompileFlags(flags.c_str());
}