summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-23 16:59:14 (GMT)
committerBrad King <brad.king@kitware.com>2020-07-23 17:00:42 (GMT)
commit36fc3a1e84c35a3085a65920423db963cd16195e (patch)
tree1f423feb446a188fa85271f58f86ccb7bd0d34ac /Source/cmGlobalXCodeGenerator.cxx
parentd421274e3e11a0e6480358faa8a8e5cf48d7b3c2 (diff)
downloadCMake-36fc3a1e84c35a3085a65920423db963cd16195e.zip
CMake-36fc3a1e84c35a3085a65920423db963cd16195e.tar.gz
CMake-36fc3a1e84c35a3085a65920423db963cd16195e.tar.bz2
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
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index a5ce5d1..ad06e81 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/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",