Skip to content

Commit ba44847

Browse files
committed
[build] Require Swift 5.9 or newer
We're going to rely on the recent fixes and improvements of C++ interop, so make sure we're running a recent enough compiler.
1 parent bab52f1 commit ba44847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL Windows)
66
option(BUILD_SHARED_LIBS "Build shared libraries by default" YES)
77
endif()
88

9-
set(min_supported_swift_version 5.8)
9+
set(min_supported_swift_version 5.9)
1010
if(CMAKE_Swift_COMPILER_VERSION VERSION_LESS "${min_supported_swift_version}")
1111
message(FATAL_ERROR "Outdated Swift compiler: "
1212
"Swift ${min_supported_swift_version} or newer is required.")

0 commit comments

Comments
 (0)