File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
lldb/source/Plugins/ExpressionParser/Swift Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,17 @@ if(BOOTSTRAPPING_MODE)
50
50
PRIVATE
51
51
swiftCompilerModules )
52
52
53
- if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android|OpenBSD|FreeBSD|Windows " )
53
+ if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android|OpenBSD|FreeBSD" )
54
54
# The swiftCompilerModules need swiftrt to work properly.
55
55
string (REGEX MATCH "^[^-]*" arch ${LLVM_TARGET_TRIPLE} )
56
56
string (TOLOWER ${CMAKE_SYSTEM_NAME} platform )
57
57
target_link_libraries (lldbPluginExpressionParserSwift
58
58
PRIVATE
59
59
"${LLDB_SWIFT_LIBS} /${platform} /${arch} /swiftrt${CMAKE_C_OUTPUT_EXTENSION} " )
60
+ elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
61
+ set (swiftrt_obj
62
+ ${SWIFT_PATH_TO_SWIFT_SDK} /usr/lib/swift/windows/${SWIFT_HOST_VARIANT_ARCH}/swiftrt${CMAKE_C_OUTPUT_EXTENSION} )
63
+ target_link_libraries (lldbPluginExpressionParserSwift PRIVATE ${swiftrt_obj} )
60
64
endif ()
61
65
else ()
62
66
target_link_libraries (lldbPluginExpressionParserSwift
You can’t perform that action at this time.
0 commit comments