Skip to content

Commit a4d8942

Browse files
committed
runtime: add missing linked library for Windows
The runtime uses functions from User32 and needs to link against it to fulfill that dependency.
1 parent f4851a9 commit a4d8942

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Runtimes/Core/runtime/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ target_include_directories(swiftRuntime PRIVATE
9090
"${CMAKE_CURRENT_SOURCE_DIR}")
9191

9292
target_link_libraries(swiftRuntime PRIVATE
93+
$<$<PLATFORM_ID:Windows>:User32>
9394
swiftShims)
9495

9596
# FIXME: Refactor so that we're not pulling sources from the compiler files

0 commit comments

Comments
 (0)