summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-08-16 14:46:53 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-08-25 08:09:10 (GMT)
commitdc3aa4024eba3067d2cc81087aeccd4b31cf23f0 (patch)
tree3aae2a42df1146f5ab27ffadc25c8ab8f542ee0d /Source/cmGlobalXCodeGenerator.cxx
parent6dfa581babfb051461341ca92e0463481799361f (diff)
downloadCMake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.zip
CMake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.tar.gz
CMake-dc3aa4024eba3067d2cc81087aeccd4b31cf23f0.tar.bz2
Refactor: Use new SetProperty signatures
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 3994816..763f12a 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1667,7 +1667,7 @@ void cmGlobalXCodeGenerator::ForceLinkerLanguage(cmGeneratorTarget* gtgt)
fout << "\n";
}
if (cmSourceFile* sf = mf->GetOrCreateSource(fname)) {
- sf->SetProperty("LANGUAGE", llang.c_str());
+ sf->SetProperty("LANGUAGE", llang);
gtgt->AddSource(fname);
}
}