fix Xcode 30 generator
This commit is contained in:
parent
a6facbcca3
commit
45d22b48ab
@ -2646,18 +2646,18 @@ void cmGlobalXCodeGenerator
|
|||||||
{
|
{
|
||||||
osxArch = "$(ARCHS_STANDARD_32_64_BIT)";
|
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__
|
#ifdef __ppc__
|
||||||
osxArch = "ppc";
|
osxArch = "ppc";
|
||||||
#endif
|
#endif
|
||||||
}
|
#ifdef __i386
|
||||||
else
|
osxArch = "i386";
|
||||||
{
|
#endif
|
||||||
osxArch = "$(ARCHS_STANDARD_32_BIT)";
|
|
||||||
}
|
}
|
||||||
buildSettings->AddAttribute("ONLY_ACTIVE_ARCH",
|
buildSettings->AddAttribute("ONLY_ACTIVE_ARCH",
|
||||||
this->CreateString("YES"));
|
this->CreateString("YES"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user