mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
cmGeneratorTarget: Pass language to GetAppleArchs when possible
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user