File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1080,6 +1080,10 @@ function(add_swift_target_library_single target name)
10801080 target_include_directories ("${target} " SYSTEM PRIVATE
10811081 ${SWIFTLIB_INCLUDE} )
10821082 endif ()
1083+ if (libkind STREQUAL STATIC )
1084+ set_property (TARGET "${target} " PROPERTY
1085+ PREFIX lib)
1086+ endif ()
10831087 endif ()
10841088
10851089 if ("${SWIFTLIB_SINGLE_SDK} " STREQUAL "WINDOWS" AND NOT "${CMAKE_SYSTEM_NAME} " STREQUAL "Windows" )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O
3131 ${SWIFT_SDK_LINUX_CXX_OVERLAY_SWIFT_COMPILE_FLAGS}
3232
3333 LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS} "
34- TARGET_SDKS ALL_APPLE_PLATFORMS LINUX
34+ TARGET_SDKS ALL_APPLE_PLATFORMS LINUX WINDOWS
3535 INSTALL_IN_COMPONENT compiler
3636 INSTALL_WITH_SHARED
3737 DEPENDS libstdcxx-modulemap libcxxshim_modulemap)
You can’t perform that action at this time.
0 commit comments