File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,9 @@ target_include_directories(swiftRuntime PRIVATE
90
90
"${PROJECT_BINARY_DIR} /include"
91
91
"${CMAKE_CURRENT_SOURCE_DIR} " )
92
92
93
- target_link_libraries (swiftRuntime PRIVATE swiftShims)
93
+ target_link_libraries (swiftRuntime PRIVATE
94
+ $<$<PLATFORM_ID:Windows>:User32>
95
+ swiftShims)
94
96
95
97
# FIXME: Refactor so that we're not pulling sources from the compiler files
96
98
target_sources (swiftRuntime PRIVATE
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ target_compile_definitions(swiftStdlibStubs PRIVATE
30
30
$<$<BOOL :${BUILD_SHARED_LIBS} >:-DswiftCore_EXPORTS>
31
31
$<$<BOOL :${SwiftCore_ENABLE_UNICODE_DATA} >:-DSWIFT_STDLIB_ENABLE_UNICODE_DATA>)
32
32
33
+ target_link_libraries (swiftStdlibStubs PRIVATE
34
+ swiftShims)
33
35
34
- target_link_libraries (swiftStdlibStubs PRIVATE swiftShims)
35
36
target_include_directories (swiftStdlibStubs PRIVATE
36
37
"${PROJECT_BINARY_DIR} /include"
37
38
# FIXME: pulls in headers from the main compiler build
You can’t perform that action at this time.
0 commit comments