File tree 2 files changed +5
-1
lines changed 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)
1080
1080
target_include_directories ("${target} " SYSTEM PRIVATE
1081
1081
${SWIFTLIB_INCLUDE} )
1082
1082
endif ()
1083
+ if (libkind STREQUAL STATIC )
1084
+ set_property (TARGET "${target} " PROPERTY
1085
+ PREFIX lib)
1086
+ endif ()
1083
1087
endif ()
1084
1088
1085
1089
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
31
31
${SWIFT_SDK_LINUX_CXX_OVERLAY_SWIFT_COMPILE_FLAGS}
32
32
33
33
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS} "
34
- TARGET_SDKS ALL_APPLE_PLATFORMS LINUX
34
+ TARGET_SDKS ALL_APPLE_PLATFORMS LINUX WINDOWS
35
35
INSTALL_IN_COMPONENT compiler
36
36
INSTALL_WITH_SHARED
37
37
DEPENDS libstdcxx-modulemap libcxxshim_modulemap)
You can’t perform that action at this time.
0 commit comments