mirror of
https://github.com/neovim/neovim
synced 2025-07-20 13:22:26 +00:00
fix(build): call find_package(Threads) before using its variables
This commit is contained in:
@ -75,6 +75,7 @@ if(WIN32)
|
|||||||
list(APPEND LIBUV_LIBRARIES ws2_32)
|
list(APPEND LIBUV_LIBRARIES ws2_32)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
find_package(Threads)
|
||||||
if(Threads_FOUND)
|
if(Threads_FOUND)
|
||||||
# TODO: Fix the cmake file to properly handle static deps for bundled builds.
|
# TODO: Fix the cmake file to properly handle static deps for bundled builds.
|
||||||
# Meanwhile just include the threads library if CMake tells us there's one to
|
# Meanwhile just include the threads library if CMake tells us there's one to
|
||||||
|
Reference in New Issue
Block a user