File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ target_link_libraries(swift_Concurrency PRIVATE
130
130
set_target_properties (swift_Concurrency PROPERTIES
131
131
Swift_MODULE_NAME _Concurrency
132
132
LINKER_LANGUAGE CXX )
133
+ if (NOT BUILD_SHARED_LIBS AND CMAKE_STATIC_LIBRARY_PREFIX_Swift )
134
+ set_target_properties (swift_Concurrency PROPERTIES
135
+ PREFIX ${CMAKE_STATIC_LIBRARY_PREFIX_Swift} )
136
+ endif ()
133
137
134
138
install (TARGETS swift_Concurrency
135
139
EXPORT SwiftCoreTargets
Original file line number Diff line number Diff line change @@ -281,6 +281,10 @@ endif()
281
281
set_target_properties (swiftCore PROPERTIES
282
282
Swift_MODULE_NAME Swift
283
283
LINKER_LANGUAGE CXX )
284
+ if (NOT BUILD_SHARED_LIBS AND CMAKE_STATIC_LIBRARY_PREFIX_Swift )
285
+ set_target_properties (swiftCore PROPERTIES
286
+ PREFIX ${CMAKE_STATIC_LIBRARY_PREFIX_Swift} )
287
+ endif ()
284
288
285
289
target_compile_definitions (swiftCore
286
290
PRIVATE
You can’t perform that action at this time.
0 commit comments