소스 검색

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) {
     xout.Element("key", "BuildSystemType");
     xout.Element("string", "Original");
+    xout.Element("key", "DisableBuildSystemDeprecationWarning");
+    xout.Element("true");
   }
   if (hasGeneratedSchemes) {
     xout.Element("key",