File tree 3 files changed +10
-15
lines changed
3 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,10 @@ set_target_properties(Foundation PROPERTIES
161
161
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_BINARY_DIR} /swift)
162
162
163
163
if (NOT BUILD_SHARED_LIBS )
164
- # TODO(katei): Comment out after swift-frontend implementation
165
- # https://github.com/apple/swift/pull/35936
166
- # target_compile_options(Foundation
167
- # PRIVATE
168
- # "SHELL:-public-autolink-library icui18n")
164
+ target_compile_options (Foundation
165
+ PRIVATE
166
+ "SHELL:-Xfrontend -public-autolink-library -Xfrontend icui18n
167
+ -Xfrontend -public-autolink-library -Xfrontend BlocksRuntime" )
169
168
170
169
# Merge private dependencies into single static objects archive
171
170
set_property (TARGET Foundation PROPERTY STATIC_LIBRARY_OPTIONS
Original file line number Diff line number Diff line change @@ -66,11 +66,9 @@ target_link_libraries(FoundationNetworking
66
66
Foundation)
67
67
68
68
if (NOT BUILD_SHARED_LIBS )
69
- # TODO(katei): Comment out after swift-frontend implementation
70
- # https://github.com/apple/swift/pull/35936
71
- # target_compile_options(FoundationNetworking
72
- # PRIVATE
73
- # "SHELL:-public-autolink-library curl")
69
+ target_compile_options (FoundationNetworking
70
+ PRIVATE
71
+ "SHELL:-Xfrontend -public-autolink-library -Xfrontend curl" )
74
72
75
73
# Merge private dependencies into single static objects archive
76
74
set_property (TARGET FoundationNetworking PROPERTY STATIC_LIBRARY_OPTIONS
Original file line number Diff line number Diff line change @@ -18,11 +18,9 @@ target_link_libraries(FoundationXML
18
18
Foundation)
19
19
20
20
if (NOT BUILD_SHARED_LIBS )
21
- # TODO(katei): Comment out after swift-frontend implementation
22
- # https://github.com/apple/swift/pull/35936
23
- # target_compile_options(FoundationXML
24
- # PRIVATE
25
- # "SHELL:-public-autolink-library xml2")
21
+ target_compile_options (FoundationXML
22
+ PRIVATE
23
+ "SHELL:-Xfrontend -public-autolink-library -Xfrontend xml2" )
26
24
27
25
# Merge private dependencies into single static objects archive
28
26
set_property (TARGET FoundationXML PROPERTY STATIC_LIBRARY_OPTIONS
You can’t perform that action at this time.
0 commit comments