File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
FoundationInternationalization Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,13 @@ target_link_libraries(FoundationEssentials PUBLIC
7070 _CShims
7171 _FoundationCollections)
7272
73+ if (NOT BUILD_SHARED_LIBS )
74+ target_compile_options (FoundationEssentials PRIVATE
75+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _CShims>" )
76+ target_compile_options (FoundationEssentials PRIVATE
77+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationCollections>" )
78+ endif ()
79+
7380target_link_options (FoundationEssentials PRIVATE
7481 "SHELL:-no-toolchain-stdlib-rpath" )
7582
Original file line number Diff line number Diff line change @@ -39,6 +39,13 @@ target_link_libraries(FoundationInternationalization PUBLIC
3939 _CShims
4040 _FoundationICU)
4141
42+ if (NOT BUILD_SHARED_LIBS )
43+ target_compile_options (FoundationInternationalization PRIVATE
44+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _CShims>" )
45+ target_compile_options (FoundationInternationalization PRIVATE
46+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationICU>" )
47+ endif ()
48+
4249target_link_options (FoundationInternationalization PRIVATE
4350 "SHELL:-no-toolchain-stdlib-rpath" )
4451
You can’t perform that action at this time.
0 commit comments