aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-09-21 06:56:25 -0400
committerJames McCoy <jamessan@jamessan.com>2021-09-21 06:56:59 -0400
commitf446ab3aa37004cc92baa3e9708aa0520837bc33 (patch)
treec0eca35c14c073d520a27a7a22382dcb7ebaee41
parent9cbebcb247395219dacec223c3d04d7546d3f814 (diff)
downloadrneovim-f446ab3aa37004cc92baa3e9708aa0520837bc33.tar.gz
rneovim-f446ab3aa37004cc92baa3e9708aa0520837bc33.tar.bz2
rneovim-f446ab3aa37004cc92baa3e9708aa0520837bc33.zip
fix(build): call find_package(Threads) before using its variables
-rw-r--r--cmake/FindLibUV.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindLibUV.cmake b/cmake/FindLibUV.cmake
index df3696b2e3..63babfea67 100644
--- a/cmake/FindLibUV.cmake
+++ b/cmake/FindLibUV.cmake
@@ -75,6 +75,7 @@ if(WIN32)
list(APPEND LIBUV_LIBRARIES ws2_32)
endif()
+find_package(Threads)
if(Threads_FOUND)
# 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