summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-28 16:37:55 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-29 14:43:32 (GMT)
commit32e4f6beca6f13165ec5a40bf363d005ebda9263 (patch)
tree1f31fda9144a572d45bd6c8b0559422e686719c7
parent34b902a5a6fd55ef3857d74aab986a8d96d57659 (diff)
downloadCMake-32e4f6beca6f13165ec5a40bf363d005ebda9263.zip
CMake-32e4f6beca6f13165ec5a40bf363d005ebda9263.tar.gz
CMake-32e4f6beca6f13165ec5a40bf363d005ebda9263.tar.bz2
Xcode: Skip Global targets when processing.
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx5
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);