summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-04 17:05:08 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-04 18:26:10 (GMT)
commit96dece6dc11627d0e7b5588f63f2578b581cfb77 (patch)
tree8f7b85886b79e37a7f15c2e9e1406898080f36ea /Help
parent6e91f5d6204e650c808b6585074faa248ee6e6a9 (diff)
downloadCMake-96dece6dc11627d0e7b5588f63f2578b581cfb77.zip
CMake-96dece6dc11627d0e7b5588f63f2578b581cfb77.tar.gz
CMake-96dece6dc11627d0e7b5588f63f2578b581cfb77.tar.bz2
Xcode: Update default Swift language version for Xcode 10.2
Xcode 10.2 no longer supports Swift language versions before 4.0. Fixes: #18871
Diffstat (limited to 'Help')
-rw-r--r--Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst b/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst
index 50121e2..b4a74eb 100644
--- a/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst
+++ b/Help/variable/CMAKE_Swift_LANGUAGE_VERSION.rst
@@ -1,5 +1,9 @@
CMAKE_Swift_LANGUAGE_VERSION
----------------------------
-Set to the Swift language version number. If not set, the legacy "2.3"
-version is assumed.
+Set to the Swift language version number. If not set, the oldest legacy
+version known to be available in the host Xcode version is assumed:
+
+* Swift ``4.0`` for Xcode 10.2 and above.
+* Swift ``3.0`` for Xcode 8.3 and above.
+* Swift ``2.3`` for Xcode 8.2 and below.