summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-24 16:07:04 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-24 16:07:04 (GMT)
commitf437c8e888db7a934792371e74fd7c15b71ec34f (patch)
treede3c28b405dc2de5a29898d6effcb085b375b2e8 /Source/cmGlobalXCodeGenerator.cxx
parentf119d6e4ef3264cb4c576cb9bbd53a51f9c78a09 (diff)
downloadCMake-f437c8e888db7a934792371e74fd7c15b71ec34f.zip
CMake-f437c8e888db7a934792371e74fd7c15b71ec34f.tar.gz
CMake-f437c8e888db7a934792371e74fd7c15b71ec34f.tar.bz2
BUG: Treat GLOBAL_TARGET like UTILITY for generation.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index b4637b4..2a81cf2 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -633,10 +633,12 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
continue;
}
if(cmtarget.GetType() == cmTarget::UTILITY ||
+ cmtarget.GetType() == cmTarget::GLOBAL_TARGET ||
cmtarget.GetType() == cmTarget::INSTALL_FILES ||
cmtarget.GetType() == cmTarget::INSTALL_PROGRAMS)
{
- if(cmtarget.GetType() == cmTarget::UTILITY)
+ if(cmtarget.GetType() == cmTarget::UTILITY ||
+ cmtarget.GetType() == cmTarget::GLOBAL_TARGET)
{
targets.push_back(this->CreateUtilityTarget(cmtarget));
}