mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03: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:
1 parent
fed5eb5b0e
commit
80d75246d4
1 file changed
+6
@@ -112,6 +112,12 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile const* source,
|
|||||||
{
|
{
|
||||||
std::string flags = this->GetFlags(language);
|
std::string flags = this->GetFlags(language);
|
||||||
|
|
||||||
|
// Add Fortran format flags.
|
||||||
|
if(language == "Fortran")
|
||||||
|
{
|
||||||
|
this->AppendFortranFormatFlags(flags, *source);
|
||||||
|
}
|
||||||
|
|
||||||
// Add source file specific flags.
|
// Add source file specific flags.
|
||||||
this->LocalGenerator->AppendFlags(flags,
|
this->LocalGenerator->AppendFlags(flags,
|
||||||
source->GetProperty("COMPILE_FLAGS"));
|
source->GetProperty("COMPILE_FLAGS"));
|
||||||
|
|||||||
Reference in new issue
Block a user