Merge topic 'xcode-dead-code'

b8a2ce0484 cmGlobalXCodeGenerator: Remove dead buildsystem version check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !6568
This commit is contained in:
Brad King
2021-09-29 13:56:13 +00:00
committed by Kitware Robot
-3
View File
@@ -1756,9 +1756,6 @@ void cmGlobalXCodeGenerator::CreateCustomCommands(
if (sourceFile->GetCustomCommand() &&
visited.insert(sourceFile).second) {
commands.push_back(*sourceFile->GetCustomCommand());
if (this->XcodeBuildSystem >= BuildSystem::Twelve) {
this->CustomCommandRoots[sourceFile].insert(gtgt);
}
}
}
// create custom commands phase