mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
call static cmOutputConverter::GetFortranFormat without object
This commit is contained in:
@@ -178,10 +178,10 @@ void cmCommonTargetGenerator::AppendFortranFormatFlags(
|
||||
{
|
||||
const char* srcfmt = source.GetProperty("Fortran_FORMAT");
|
||||
cmOutputConverter::FortranFormat format =
|
||||
this->LocalGenerator->GetFortranFormat(srcfmt);
|
||||
cmOutputConverter::GetFortranFormat(srcfmt);
|
||||
if (format == cmOutputConverter::FortranFormatNone) {
|
||||
const char* tgtfmt = this->GeneratorTarget->GetProperty("Fortran_FORMAT");
|
||||
format = this->LocalGenerator->GetFortranFormat(tgtfmt);
|
||||
format = cmOutputConverter::GetFortranFormat(tgtfmt);
|
||||
}
|
||||
const char* var = 0;
|
||||
switch (format) {
|
||||
|
||||
Reference in New Issue
Block a user