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
130130set_target_properties (swift_Concurrency PROPERTIES
131131 Swift_MODULE_NAME _Concurrency
132132 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 ()
133137
134138install (TARGETS swift_Concurrency
135139 EXPORT SwiftCoreTargets
Original file line number Diff line number Diff line change @@ -281,6 +281,10 @@ endif()
281281set_target_properties (swiftCore PROPERTIES
282282 Swift_MODULE_NAME Swift
283283 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 ()
284288
285289target_compile_definitions (swiftCore
286290 PRIVATE
You can’t perform that action at this time.
0 commit comments