mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 04:08:46 -06:00
BUG: The source file may be specified with an extension.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user