aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/FindLibUV.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindLibUV.cmake b/cmake/FindLibUV.cmake
index 3aeb01195e..d0cedfb37d 100644
--- a/cmake/FindLibUV.cmake
+++ b/cmake/FindLibUV.cmake
@@ -12,9 +12,9 @@ find_path(LibUV_INCLUDE_DIR
NAMES uv.h
)
-# The library itself
+# The library itself. Note that we prefer the static version.
find_library(LibUV_LIBRARY
- NAMES uv
+ NAMES libuv.a uv
)
# Set the include dir variables and the libraries and let libfind_process do the rest.