mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 06:40:16 -05:00
GetSafeProperty: return std::string const&
This commit is contained in:
committed by
Brad King
parent
c09efe074d
commit
53675adbcf
@@ -77,7 +77,7 @@ void cmCommonTargetGenerator::AppendFortranFormatFlags(
|
||||
cmOutputConverter::FortranFormat format =
|
||||
cmOutputConverter::GetFortranFormat(srcfmt);
|
||||
if (format == cmOutputConverter::FortranFormatNone) {
|
||||
const std::string tgtfmt =
|
||||
std::string const& tgtfmt =
|
||||
this->GeneratorTarget->GetSafeProperty("Fortran_FORMAT");
|
||||
format = cmOutputConverter::GetFortranFormat(tgtfmt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user