Xcode: Remove PREBINDING attribute for Xcode 4 and above
PREBINDING is obsolete in Xcode 4 and causes warnings if present. Do not emit it for Xcode >= 4.0
This commit is contained in:
parent
8971c0d8d2
commit
bda4148a57
|
@ -1758,7 +1758,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if(this->XcodeVersion >= 22)
|
||||
if(this->XcodeVersion >= 22 && this->XcodeVersion < 40)
|
||||
{
|
||||
buildSettings->AddAttribute("PREBINDING",
|
||||
this->CreateString("NO"));
|
||||
|
|
Loading…
Reference in New Issue