Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 911c5b8

Browse files
committedJul 22, 2024··
Fix static swift build failures
1 parent 6201c21 commit 911c5b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎Sources/FoundationEssentials/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if(NOT BUILD_SHARED_LIBS)
7878
target_compile_options(FoundationEssentials PRIVATE
7979
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCollections>")
8080
target_compile_options(FoundationEssentials PRIVATE
81-
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend Synchronization>")
81+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend swiftSynchronization>")
8282
endif()
8383

8484
set_target_properties(FoundationEssentials PROPERTIES

‎Sources/FoundationInternationalization/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ if(NOT BUILD_SHARED_LIBS)
4444
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCShims>")
4545
target_compile_options(FoundationInternationalization PRIVATE
4646
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationICU>")
47+
target_compile_options(FoundationEssentials PRIVATE
48+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend swiftSynchronization>")
4749
endif()
4850

4951
set_target_properties(FoundationInternationalization PROPERTIES

0 commit comments

Comments
 (0)
Please sign in to comment.