cmGeneratorTarget: Pass language to GetAppleArchs when possible

This commit is contained in:
Brad King
2023-03-14 17:11:27 -04:00
parent 93afe804ce
commit 43e973eba2
7 changed files with 13 additions and 10 deletions
+2 -1
View File
@@ -2513,7 +2513,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
}
// Set target-specific architectures.
std::vector<std::string> archs = gtgt->GetAppleArchs(configName);
std::vector<std::string> archs =
gtgt->GetAppleArchs(configName, cm::nullopt);
if (!archs.empty()) {
// Enable ARCHS attribute.