mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
Xcode: Ignore deprecated build system
With Xcode 13 the key to suppress the check has changed. Tested with Xcode 12.5 and 13.0-beta2.
This commit is contained in:
@@ -4617,7 +4617,11 @@ void cmGlobalXCodeGenerator::OutputXCodeWorkspaceSettings(
|
||||
switch (this->XcodeBuildSystem) {
|
||||
case BuildSystem::One:
|
||||
xout.Element("string", "Original");
|
||||
xout.Element("key", "DisableBuildSystemDeprecationWarning");
|
||||
if (this->XcodeVersion >= 130) {
|
||||
xout.Element("key", "DisableBuildSystemDeprecationDiagnostic");
|
||||
} else {
|
||||
xout.Element("key", "DisableBuildSystemDeprecationWarning");
|
||||
}
|
||||
xout.Element("true");
|
||||
break;
|
||||
case BuildSystem::Twelve:
|
||||
|
||||
Reference in New Issue
Block a user