File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ if(NOT BUILD_SHARED_LIBS)
161161 target_compile_options (Foundation PRIVATE
162162 "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationICU>" )
163163 target_compile_options (Foundation PRIVATE
164- "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend swiftSynchronization>" )
164+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend $<$<PLATFORM_ID:Windows>: ${CMAKE_STATIC_LIBRARY_PREFIX_Swift} > swiftSynchronization>" )
165165endif ()
166166
167167if (dispatch_FOUND)
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if(NOT BUILD_SHARED_LIBS)
6161 target_compile_options (FoundationNetworking PRIVATE
6262 "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend curl>" )
6363 target_compile_options (FoundationNetworking PRIVATE
64- "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend swiftSynchronization>" )
64+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend $<$<PLATFORM_ID:Windows>: ${CMAKE_STATIC_LIBRARY_PREFIX_Swift} > swiftSynchronization>" )
6565
6666 if (BUILD_FULLY_STATIC)
6767 target_compile_options (FoundationNetworking
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if(NOT BUILD_SHARED_LIBS)
3636 target_compile_options (FoundationXML PRIVATE
3737 "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend xml2>" )
3838 target_compile_options (FoundationXML PRIVATE
39- "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend swiftSynchronization>" )
39+ "SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend $<$<PLATFORM_ID:Windows>: ${CMAKE_STATIC_LIBRARY_PREFIX_Swift} > swiftSynchronization>" )
4040
4141 if (BUILD_FULLY_STATIC)
4242 target_compile_options (FoundationXML
You can’t perform that action at this time.
0 commit comments