summaryrefslogtreecommitdiff
path: root/Source/cmCommonTargetGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-05 23:44:39 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-06 23:32:38 +0200
commitba5fb16519d095051ea90e642cbf41a28be6a03d (patch)
tree5454e5b12e0264b2494ed4a098721b797f7a44a1 /Source/cmCommonTargetGenerator.cxx
parentd546456765072e6d4e6307eb6431de23f7bfe418 (diff)
downloadcmake-ba5fb16519d095051ea90e642cbf41a28be6a03d.tar.gz
call static cmOutputConverter::GetFortranFormat without object
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r--Source/cmCommonTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx
index c630971ce5..a6f2a2e60b 100644
--- a/Source/cmCommonTargetGenerator.cxx
+++ b/Source/cmCommonTargetGenerator.cxx
@@ -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) {