Fix the build for version 2.5 of Xcode.

This commit is contained in:
Bill Hoffman 2009-09-18 10:28:28 -04:00
parent 997ae66cbb
commit 311eb30672
1 changed files with 9 additions and 0 deletions

View File

@ -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)";