We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd3428 commit de853bcCopy full SHA for de853bc
CMakeLists.txt
@@ -105,8 +105,11 @@ set(SWIFT_ANALYZE_CODE_COVERAGE FALSE CACHE STRING
105
set_property(CACHE SWIFT_ANALYZE_CODE_COVERAGE PROPERTY
106
STRINGS FALSE "NOT-MERGED" "MERGED")
107
108
-set(SWIFT_VERSION "4.0" CACHE STRING
109
- "The user-visible version of the Swift compiler")
+# SWIFT_VERSION is deliberately /not/ cached so that an existing build directory
+# can be reused when a new version of Swift comes out (assuming the user hasn't
110
+# manually set it as part of their own CMake configuration).
111
+set(SWIFT_VERSION "4.0")
112
+
113
set(SWIFT_VENDOR "" CACHE STRING
114
"The vendor name of the Swift compiler")
115
set(SWIFT_COMPILER_VERSION "" CACHE STRING
0 commit comments