Skip to content

Commit 966ff45

Browse files
committed
build: add a link against AdvAPI32 on Windows
The `WaitChain*` functions require linking against AdvAPI32.
1 parent 7fb9d5c commit 966ff45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ target_link_libraries(dispatch PUBLIC
141141
BlocksRuntime::BlocksRuntime)
142142
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
143143
target_link_libraries(dispatch PRIVATE
144+
AdvAPI32
144145
ShLwApi
145146
WS2_32
146147
WinMM

0 commit comments

Comments
 (0)