From 45d22b48ab047aca5cb41cc7412bf07699b5e58a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 7 Oct 2009 08:15:14 -0400 Subject: [PATCH] fix Xcode 30 generator --- Source/cmGlobalXCodeGenerator.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index f217a35c6..d2c75b2d6 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2646,18 +2646,18 @@ void cmGlobalXCodeGenerator { osxArch = "$(ARCHS_STANDARD_32_64_BIT)"; } - else if(this->XcodeVersion <= 25) + else if(this->XcodeVersion == 31) + { + osxArch = "$(ARCHS_STANDARD_32_BIT)"; + } + else if(this->XcodeVersion <= 30) { -#ifdef __i386 - osxArch = "i386"; -#endif #ifdef __ppc__ osxArch = "ppc"; #endif - } - else - { - osxArch = "$(ARCHS_STANDARD_32_BIT)"; +#ifdef __i386 + osxArch = "i386"; +#endif } buildSettings->AddAttribute("ONLY_ACTIVE_ARCH", this->CreateString("YES"));