Browse Source

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 years ago
parent
commit
36fc3a1e84
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmGlobalXCodeGenerator.cxx

+ 2 - 0
Source/cmGlobalXCodeGenerator.cxx

@@ -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",