summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorJohan Bjork <phb@spotify.com>2011-08-18 16:28:15 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-08-19 15:27:26 (GMT)
commitbda4148a571d969700e018d89a95547908075bec (patch)
tree4d7d063074bff3d7a6c69112158fdca88d750ebd /Source
parent8971c0d8d287cc0024cc0a5ea12c947adfda207c (diff)
downloadCMake-bda4148a571d969700e018d89a95547908075bec.zip
CMake-bda4148a571d969700e018d89a95547908075bec.tar.gz
CMake-bda4148a571d969700e018d89a95547908075bec.tar.bz2
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
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index fd9dacd..73967912 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -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"));