diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-05 21:44:39 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-06 21:32:38 (GMT) |
commit | ba5fb16519d095051ea90e642cbf41a28be6a03d (patch) | |
tree | 5454e5b12e0264b2494ed4a098721b797f7a44a1 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | d546456765072e6d4e6307eb6431de23f7bfe418 (diff) | |
download | CMake-ba5fb16519d095051ea90e642cbf41a28be6a03d.zip CMake-ba5fb16519d095051ea90e642cbf41a28be6a03d.tar.gz CMake-ba5fb16519d095051ea90e642cbf41a28be6a03d.tar.bz2 |
call static cmOutputConverter::GetFortranFormat without object
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 6e7d7d2..36a1f29 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -683,7 +683,8 @@ void cmLocalVisualStudio7Generator::WriteConfiguration( } if (this->FortranProject) { - switch (this->GetFortranFormat(target->GetProperty("Fortran_FORMAT"))) { + switch (cmOutputConverter::GetFortranFormat( + target->GetProperty("Fortran_FORMAT"))) { case cmOutputConverter::FortranFormatFixed: flags += " -fixed"; break; @@ -1474,7 +1475,8 @@ cmLocalVisualStudio7GeneratorFCInfo::cmLocalVisualStudio7GeneratorFCInfo( needfc = true; } if (lg->FortranProject) { - switch (lg->GetFortranFormat(sf.GetProperty("Fortran_FORMAT"))) { + switch (cmOutputConverter::GetFortranFormat( + sf.GetProperty("Fortran_FORMAT"))) { case cmOutputConverter::FortranFormatFixed: fc.CompileFlags = "-fixed " + fc.CompileFlags; needfc = true; |