summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorJohan Bjork <phb@spotify.com>2011-08-28 10:24:00 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-09-01 13:59:44 (GMT)
commit57bc42ae91ce373db094e69a6f9900aadbe858fe (patch)
treec008b02114fa47573597bf4a7bdb7fe0ccbcfbd8 /Source
parent917ca9f1428efc73b9f23db9e5aa3dccbb15a513 (diff)
downloadCMake-57bc42ae91ce373db094e69a6f9900aadbe858fe.zip
CMake-57bc42ae91ce373db094e69a6f9900aadbe858fe.tar.gz
CMake-57bc42ae91ce373db094e69a6f9900aadbe858fe.tar.bz2
Xcode: Do not emit the ZERO_CHECK target more than once
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index f67b029..3e35048 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/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())
{