Skip to content

Commit f446ab3

Browse files
committed
fix(build): call find_package(Threads) before using its variables
1 parent 9cbebcb commit f446ab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/FindLibUV.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ if(WIN32)
7575
list(APPEND LIBUV_LIBRARIES ws2_32)
7676
endif()
7777

78+
find_package(Threads)
7879
if(Threads_FOUND)
7980
# TODO: Fix the cmake file to properly handle static deps for bundled builds.
8081
# Meanwhile just include the threads library if CMake tells us there's one to

0 commit comments

Comments
 (0)