Merge topic 'fix-zero-check-mistake'

57bc42a Xcode: Do not emit the ZERO_CHECK target more than once
This commit is contained in:
David Cole 2011-09-07 15:37:15 -04:00 committed by CMake Topic Stage
commit 103ab60dd7
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())
{