summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2016-10-05 14:20:28 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-07 13:07:32 (GMT)
commit20e8dcf162b9963c9ff195525bc433df2bc2de2a (patch)
tree5552c631f4db1dbd5236388140296bffa9af5a40 /CMakeLists.txt
parent845b98f45b09b399f914d9df3c6a6008d7558b1b (diff)
downloadCMake-20e8dcf162b9963c9ff195525bc433df2bc2de2a.zip
CMake-20e8dcf162b9963c9ff195525bc433df2bc2de2a.tar.gz
CMake-20e8dcf162b9963c9ff195525bc433df2bc2de2a.tar.bz2
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
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bafca23..b4a577c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -491,7 +491,7 @@ int main(void) { return 0; }
if(CMAKE_USE_LIBUV)
if(CMAKE_USE_SYSTEM_LIBUV)
if(NOT CMAKE_VERSION VERSION_LESS 3.0)
- find_package(LibUV)
+ find_package(LibUV 1.0.0)
else()
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBUV requires CMake >= 3.0")
endif()