summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-28 16:32:40 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-29 14:43:34 (GMT)
commitaa2407d84d8bcd983b3df294032831bbd54cf25d (patch)
treed9240e6542a05015e1283f700585162568ab8e1a
parent610572b7d27e122ebf8e5c5d430019844567a996 (diff)
downloadCMake-aa2407d84d8bcd983b3df294032831bbd54cf25d.zip
CMake-aa2407d84d8bcd983b3df294032831bbd54cf25d.tar.gz
CMake-aa2407d84d8bcd983b3df294032831bbd54cf25d.tar.bz2
Xcode: Use allBuild target return value.
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index d6f5a00..91b8186 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -449,10 +449,9 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root,
// Add ALL_BUILD
const char* no_working_directory = 0;
std::vector<std::string> no_depends;
- mf->AddUtilityCommand("ALL_BUILD", true, no_depends,
+ cmTarget* allbuild = mf->AddUtilityCommand("ALL_BUILD", true, no_depends,
no_working_directory,
"echo", "Build all projects");
- cmTarget* allbuild = mf->FindTarget("ALL_BUILD");
// Refer to the main build configuration file for easy editing.
std::string listfile = mf->GetCurrentSourceDirectory();