From 584e0f2f641370c366ab623ca5543f66374a111d Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 23 Mar 2005 08:20:46 -0500 Subject: [PATCH] fix for xcode --- Source/cmBuildCommand.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx index 1e82bb3b3..5785c00ce 100644 --- a/Source/cmBuildCommand.cxx +++ b/Source/cmBuildCommand.cxx @@ -53,10 +53,9 @@ bool cmBuildCommand::InitialPass(std::vector const& args) makecommand += m_Makefile->GetProjectName(); makecommand += ".sln /build Release /project ALL_BUILD"; } - else if(m_Makefile->GetDefinition("BORLAND")) + else if (makeprogram.find("xcodebuild") != std::string::npos) { - makecommand = makeprogram; - makecommand += " -i"; + makecommand += makeprogram; } else {