Browse Source

Xcode: Do not emit the ZERO_CHECK target more than once

Johan Bjork 14 years ago
parent
commit
57bc42ae91
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmGlobalXCodeGenerator.cxx

+ 2 - 1
Source/cmGlobalXCodeGenerator.cxx

@@ -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())
       {