Skip to content

Commit 759820e

Browse files
committed
adjust cmake configuration
1 parent e74685b commit 759820e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ list(APPEND _SwiftFoundation_availability_names
118118
list(APPEND _SwiftFoundation_availability_releases
119119
${_SwiftFoundation_BaseAvailability}
120120
${_SwiftFoundation_BaseAvailability}
121-
${_SwiftFoundation_BaseAvailability})
121+
${_SwiftFoundation_BaseAvailability}
122+
${_SwiftFoundation_FutureAvailability})
122123

123124
foreach(version ${_SwiftFoundation_versions})
124125
foreach(name release IN ZIP_LISTS _SwiftFoundation_availability_names _SwiftFoundation_availability_releases)

Sources/FoundationEssentials/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ endif()
8080

8181
target_compile_options(FoundationEssentials PRIVATE
8282
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend VariadicGenerics>"
83+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend LifetimeDependence>"
84+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend AddressableTypes>"
85+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend BuiltinModule>"
8386
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend AccessLevelOnImport>"
8487
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend StrictConcurrency>"
8588
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend InferSendableFromCaptures>")

0 commit comments

Comments
 (0)