mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Xcode: Set LastUpgradeCheck to current Xcode version (#15817)
This prevents the project settings upgrade warning.
This commit is contained in:
1 parent
a375702eaa
commit
1361047406
1 file changed
+3
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user