Xcode: Skip Global targets when processing.

This commit is contained in:
Stephen Kelly authored and Brad King committed 2015-07-29 10:43:32 -04:00
1 parent 34b902a5a6
commit 32e4f6beca
1 file changed
+5
+5
View File
@@ -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);