summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-09-28 14:42:48 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-28 14:42:48 (GMT)
commitb8a2ce048416c5a4582a4956a7f9039423d72c44 (patch)
tree13d9b7a802515c10ce5493b8787bd6c428ba9ed0 /Source/cmGlobalXCodeGenerator.cxx
parent09dd52c9d2684e933a3e013abc4f6848cb1befbf (diff)
downloadCMake-b8a2ce048416c5a4582a4956a7f9039423d72c44.zip
CMake-b8a2ce048416c5a4582a4956a7f9039423d72c44.tar.gz
CMake-b8a2ce048416c5a4582a4956a7f9039423d72c44.tar.bz2
cmGlobalXCodeGenerator: Remove dead buildsystem version check
In commit 8d5f4c4db9 (Xcode: Switch to the "new build system" for Xcode 12 and above, 2020-09-14, v3.19.0-rc1~143^2~7) we accidentally added code in an `else` block that under the opposite condition by which the block can be entered. Remove it. Fixes: #22681
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index c3d60b0..1aaeabb 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -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