mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -05:00
BUG: Treat GLOBAL_TARGET like UTILITY for generation.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user