diff options
author | Amitha Perera <perera@cs.rpi.edu> | 2002-03-15 18:20:28 (GMT) |
---|---|---|
committer | Amitha Perera <perera@cs.rpi.edu> | 2002-03-15 18:20:28 (GMT) |
commit | c8924864fdcf66fcc62d4c6a95606ad200b7ba1a (patch) | |
tree | a8a39e4e406d5ed0066a00944e06c06eb8c2905d | |
parent | 543b4ca1b9861b64668be0ae38c711a04964ba04 (diff) | |
download | CMake-c8924864fdcf66fcc62d4c6a95606ad200b7ba1a.zip CMake-c8924864fdcf66fcc62d4c6a95606ad200b7ba1a.tar.gz CMake-c8924864fdcf66fcc62d4c6a95606ad200b7ba1a.tar.bz2 |
BUG: The source file may be specified with an extension.
-rw-r--r-- | Source/cmSourceFilesFlagsCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFilesFlagsCommand.cxx b/Source/cmSourceFilesFlagsCommand.cxx index 8ecbe0b..458cbd5 100644 --- a/Source/cmSourceFilesFlagsCommand.cxx +++ b/Source/cmSourceFilesFlagsCommand.cxx @@ -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()); } |