cmNinjaTargetGenerator: Restore addition of Fortran format flags
Restore call to AppendFortranFormatFlags accidentally dropped by commit0837538e
(cmCommonTargetGenerator: Adopt GetFlags method, 2015-07-09). It was added originally by commit6a56740e
(cmNinjaTargetGenerator: Add Fortran flag generation, 2015-07-09).
This commit is contained in:
parent
fed5eb5b0e
commit
80d75246d4
|
@ -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