summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-14 21:01:45 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-15 14:11:37 (GMT)
commit93afe804ce4949823dc4521d555811720afd7783 (patch)
tree44a3c3a094b1df4a25ddc9aec5bea238d7ba96b2 /Source/cmGlobalXCodeGenerator.cxx
parent1ec4c6579117634ddb20962cdb63313dbf79887e (diff)
downloadCMake-93afe804ce4949823dc4521d555811720afd7783.zip
CMake-93afe804ce4949823dc4521d555811720afd7783.tar.gz
CMake-93afe804ce4949823dc4521d555811720afd7783.tar.bz2
cmGeneratorTarget: Convert GetAppleArchs output argument to return value
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 5b3ac60..6fca5f4 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2513,8 +2513,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
}
// Set target-specific architectures.
- std::vector<std::string> archs;
- gtgt->GetAppleArchs(configName, archs);
+ std::vector<std::string> archs = gtgt->GetAppleArchs(configName);
if (!archs.empty()) {
// Enable ARCHS attribute.