diff options
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index f8ec8a0..be0459d 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -269,13 +269,9 @@ cmGlobalXCodeGenerator::GenerateBuildCommand( std::vector<std::string> const& makeOptions) { // now build the test - if(makeProgram == 0 || !strlen(makeProgram)) - { - cmSystemTools::Error( - "Generator cannot find the appropriate make command."); - return; - } - makeCommand.push_back(makeProgram); + makeCommand.push_back( + this->SelectMakeProgram(makeProgram, "xcodebuild") + ); makeCommand.push_back("-project"); std::string projectArg = projectName; |