Преглед изворни кода

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
Brad King пре 5 година
родитељ
комит
36fc3a1e84
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      Source/cmGlobalXCodeGenerator.cxx

+ 2 - 0
Source/cmGlobalXCodeGenerator.cxx

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