fix Xcode 30 generator

This commit is contained in:
Bill Hoffman 2009-10-07 08:15:14 -04:00
parent a6facbcca3
commit 45d22b48ab
1 changed files with 8 additions and 8 deletions

View File

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