BUG: Treat GLOBAL_TARGET like UTILITY for generation.

This commit is contained in:
Brad King 2006-02-24 11:07:04 -05:00
parent f119d6e4ef
commit f437c8e888

View File

@ -633,10 +633,12 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen,
continue; continue;
} }
if(cmtarget.GetType() == cmTarget::UTILITY || if(cmtarget.GetType() == cmTarget::UTILITY ||
cmtarget.GetType() == cmTarget::GLOBAL_TARGET ||
cmtarget.GetType() == cmTarget::INSTALL_FILES || cmtarget.GetType() == cmTarget::INSTALL_FILES ||
cmtarget.GetType() == cmTarget::INSTALL_PROGRAMS) 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)); targets.push_back(this->CreateUtilityTarget(cmtarget));
} }