diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-28 16:37:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-29 14:43:32 (GMT) |
commit | 32e4f6beca6f13165ec5a40bf363d005ebda9263 (patch) | |
tree | 1f31fda9144a572d45bd6c8b0559422e686719c7 | |
parent | 34b902a5a6fd55ef3857d74aab986a8d96d57659 (diff) | |
download | CMake-32e4f6beca6f13165ec5a40bf363d005ebda9263.zip CMake-32e4f6beca6f13165ec5a40bf363d005ebda9263.tar.gz CMake-32e4f6beca6f13165ec5a40bf363d005ebda9263.tar.bz2 |
Xcode: Skip Global targets when processing.
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index ba5ff30..d6f5a00 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -502,6 +502,11 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root, { cmTarget& target = l->second; + if (target.GetType() == cmTarget::GLOBAL_TARGET) + { + continue; + } + if (regenerate && (l->first != CMAKE_CHECK_BUILD_SYSTEM_TARGET)) { target.AddUtility(CMAKE_CHECK_BUILD_SYSTEM_TARGET); |