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/cmGlobalXCodeGenerator.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/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index b666594..93ce88b5 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -659,7 +659,7 @@ cmXCodeObject* cmGlobalXCodeGenerator::CreateXCodeSourceFile( // Add flags from target and source file properties. std::string flags; const char* srcfmt = sf->GetProperty("Fortran_FORMAT"); - switch (this->CurrentLocalGenerator->GetFortranFormat(srcfmt)) { + switch (cmOutputConverter::GetFortranFormat(srcfmt)) { case cmOutputConverter::FortranFormatFixed: flags = "-fixed " + flags; break; @@ -1981,7 +1981,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt, // Add Fortran source format attribute if property is set. const char* format = 0; const char* tgtfmt = gtgt->GetProperty("Fortran_FORMAT"); - switch (this->CurrentLocalGenerator->GetFortranFormat(tgtfmt)) { + switch (cmOutputConverter::GetFortranFormat(tgtfmt)) { case cmOutputConverter::FortranFormatFixed: format = "fixed"; break; |