mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user