Browse Source

Fix the build for version 2.5 of Xcode.

Bill Hoffman 16 years ago
parent
commit
311eb30672
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Source/cmGlobalXCodeGenerator.cxx

+ 9 - 0
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)";