diff options
author | Brad King <brad.king@kitware.com> | 2015-11-02 14:09:49 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-11-02 14:09:49 (GMT) |
commit | 06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d (patch) | |
tree | e0a48b718772a7dcdaf2eaea8f4683396670e8f9 /Source | |
parent | b7b3b675fdb3240d8157b51d28bfe9b135d89302 (diff) | |
parent | 136104740663b3310616bec51b2cec7f807715ce (diff) | |
download | CMake-06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d.zip CMake-06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d.tar.gz CMake-06ed3eb9e97e0b5e7f8f968518f0822f3bdda06d.tar.bz2 |
Merge topic 'xcode-lastupgradecheck'
13610474 Xcode: Set LastUpgradeCheck to current Xcode version (#15817)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index da8c814..2df07cb 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -3398,6 +3398,9 @@ bool cmGlobalXCodeGenerator group = this->CreateObject(cmXCodeObject::ATTRIBUTE_GROUP); group->AddAttribute("BuildIndependentTargetsInParallel", this->CreateString("YES")); + std::ostringstream v; + v << std::setfill('0') << std::setw(4) << XcodeVersion * 10; + group->AddAttribute("LastUpgradeCheck", this->CreateString(v.str())); this->RootObject->AddAttribute("attributes", group); if (this->XcodeVersion >= 32) this->RootObject->AddAttribute("compatibilityVersion", |