Xcode: Do not emit the ZERO_CHECK target more than once

This commit is contained in:
Johan Bjork 2011-08-28 12:24:00 +02:00 committed by David Cole
parent 917ca9f142
commit 57bc42ae91
1 changed files with 2 additions and 1 deletions

View File

@ -770,7 +770,8 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf,
bool cmGlobalXCodeGenerator::SpecialTargetEmitted(std::string const& tname)
{
if(tname == "ALL_BUILD" || tname == "XCODE_DEPEND_HELPER" ||
tname == "install" || tname == "package" || tname == "RUN_TESTS" )
tname == "install" || tname == "package" || tname == "RUN_TESTS" ||
tname == CMAKE_CHECK_BUILD_SYSTEM_TARGET )
{
if(this->TargetDoneSet.find(tname) != this->TargetDoneSet.end())
{