From 311eb30672c7f098404a6511f71b930f8aad65d7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 18 Sep 2009 10:28:28 -0400 Subject: Fix the build for version 2.5 of Xcode. --- Source/cmGlobalXCodeGenerator.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index cf60bd9..ec34197 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2681,6 +2681,15 @@ void cmGlobalXCodeGenerator { osxArch = "$(ARCHS_STANDARD_32_64_BIT)"; } + else if(this->XcodeVersion <= 25) + { +#ifdef __i386 + osxArch = "i386"; +#endif +#ifdef __ppc__ + osxArch = "ppc"; +#endif + } else { osxArch = "$(ARCHS_STANDARD_32_BIT)"; -- cgit v0.12