Merge topic 'factor-out-common-generator'
80d75246
cmNinjaTargetGenerator: Restore addition of Fortran format flags
This commit is contained in:
commit
e7251049a4
|
@ -112,6 +112,12 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile const* source,
|
|||
{
|
||||
std::string flags = this->GetFlags(language);
|
||||
|
||||
// Add Fortran format flags.
|
||||
if(language == "Fortran")
|
||||
{
|
||||
this->AppendFortranFormatFlags(flags, *source);
|
||||
}
|
||||
|
||||
// Add source file specific flags.
|
||||
this->LocalGenerator->AppendFlags(flags,
|
||||
source->GetProperty("COMPILE_FLAGS"));
|
||||
|
|
Loading…
Reference in New Issue