Xcode: Suppress legacy build system deprecation warning

Xcode 12 beta 3 now warns about using the legacy build system.
Since generation of the build system is CMake's responsibility,
the warning is not relevant to our users.  Suppress it.

Issue: #18088
This commit is contained in:
Brad King
2020-07-23 12:59:14 -04:00
parent d421274e3e
commit 36fc3a1e84

View File

@@ -3466,6 +3466,8 @@ void cmGlobalXCodeGenerator::OutputXCodeWorkspaceSettings(
if (this->XcodeVersion >= 100) {
xout.Element("key", "BuildSystemType");
xout.Element("string", "Original");
xout.Element("key", "DisableBuildSystemDeprecationWarning");
xout.Element("true");
}
if (hasGeneratedSchemes) {
xout.Element("key",