Skip to content

Commit f5fe8a7

Browse files
committed
Autolink Synchronization for static swift build
1 parent ac47a82 commit f5fe8a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/FoundationEssentials/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ if(NOT BUILD_SHARED_LIBS)
7777
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCShims>")
7878
target_compile_options(FoundationEssentials PRIVATE
7979
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCollections>")
80+
target_compile_options(FoundationEssentials PRIVATE
81+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend Synchronization>")
8082
endif()
8183

8284
set_target_properties(FoundationEssentials PROPERTIES

0 commit comments

Comments
 (0)