Set minimum version for LibUV to 1.0.0
Older versions of libuv did not have the uv_loop_close API. It first showed up in unstable releases ~ v0.11.20 but was not available in a stable release until v1.0
This commit is contained in:
parent
845b98f45b
commit
20e8dcf162
|
@ -491,7 +491,7 @@ int main(void) { return 0; }
|
||||||
if(CMAKE_USE_LIBUV)
|
if(CMAKE_USE_LIBUV)
|
||||||
if(CMAKE_USE_SYSTEM_LIBUV)
|
if(CMAKE_USE_SYSTEM_LIBUV)
|
||||||
if(NOT CMAKE_VERSION VERSION_LESS 3.0)
|
if(NOT CMAKE_VERSION VERSION_LESS 3.0)
|
||||||
find_package(LibUV)
|
find_package(LibUV 1.0.0)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBUV requires CMake >= 3.0")
|
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBUV requires CMake >= 3.0")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue