summaryrefslogtreecommitdiffstats
path: root/Source/cmCommonTargetGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-05 21:44:39 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-06 21:32:38 (GMT)
commitba5fb16519d095051ea90e642cbf41a28be6a03d (patch)
tree5454e5b12e0264b2494ed4a098721b797f7a44a1 /Source/cmCommonTargetGenerator.cxx
parentd546456765072e6d4e6307eb6431de23f7bfe418 (diff)
downloadCMake-ba5fb16519d095051ea90e642cbf41a28be6a03d.zip
CMake-ba5fb16519d095051ea90e642cbf41a28be6a03d.tar.gz
CMake-ba5fb16519d095051ea90e642cbf41a28be6a03d.tar.bz2
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 c630971..a6f2a2e 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) {