diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-18 14:28:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-18 14:28:28 (GMT) |
commit | 311eb30672c7f098404a6511f71b930f8aad65d7 (patch) | |
tree | 8371b470abd16b2f353480038ccb86c42018ba89 /Source | |
parent | 997ae66cbb6aa0e8039071a14e2cb0d96d3ecf3d (diff) | |
download | CMake-311eb30672c7f098404a6511f71b930f8aad65d7.zip CMake-311eb30672c7f098404a6511f71b930f8aad65d7.tar.gz CMake-311eb30672c7f098404a6511f71b930f8aad65d7.tar.bz2 |
Fix the build for version 2.5 of Xcode.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
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)"; |