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)
161
161
target_compile_options (Foundation PRIVATE
162
162
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend _FoundationICU>" )
163
163
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>" )
165
165
endif ()
166
166
167
167
if (dispatch_FOUND )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if(NOT BUILD_SHARED_LIBS)
61
61
target_compile_options (FoundationNetworking PRIVATE
62
62
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend curl>" )
63
63
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>" )
65
65
66
66
if (BUILD_FULLY_STATIC )
67
67
target_compile_options (FoundationNetworking
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if(NOT BUILD_SHARED_LIBS)
36
36
target_compile_options (FoundationXML PRIVATE
37
37
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -public-autolink-library -Xfrontend xml2>" )
38
38
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>" )
40
40
41
41
if (BUILD_FULLY_STATIC )
42
42
target_compile_options (FoundationXML
You can’t perform that action at this time.
0 commit comments