Skip to content

Commit

Permalink
Autolink Synchronization for static swift build
Browse files Browse the repository at this point in the history
  • Loading branch information
jmschonfeld committed Jul 22, 2024
1 parent 4d5865d commit 6201c21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/FoundationEssentials/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ if(NOT BUILD_SHARED_LIBS)
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCShims>")
target_compile_options(FoundationEssentials PRIVATE
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCollections>")
target_compile_options(FoundationEssentials PRIVATE
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend Synchronization>")
endif()

set_target_properties(FoundationEssentials PROPERTIES
Expand Down

0 comments on commit 6201c21

Please sign in to comment.