summaryrefslogtreecommitdiff
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index f217a35c69..d2c75b2d6c 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"));