Commit f5f72ff8 authored by Kirill Erofeev's avatar Kirill Erofeev Committed by Brad King

Explicitly require LibUV 1.10 or higher to build CMake

CMake 3.11 now uses `uv_translate_sys_error` introduced in LibUV 1.10.
parent 61fd4c74
......@@ -546,7 +546,7 @@ macro (CMAKE_BUILD_UTILITIES)
#---------------------------------------------------------------------
# Build libuv library.
if(CMAKE_USE_SYSTEM_LIBUV)
find_package(LibUV 1.0.0)
find_package(LibUV 1.10.0)
if(NOT LIBUV_FOUND)
message(FATAL_ERROR
"CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found!")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment