diff options
author | Brad King <brad.king@kitware.com> | 2016-09-09 15:11:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-09 15:11:40 (GMT) |
commit | c6d83a15d8ac11cba1388e853a9b321ca4e9c87a (patch) | |
tree | cc292d0b2666cd58e0ceae1d585c9efa58f945de /Utilities/cmlibuv | |
parent | 6a497bb0a3a92ac13d637ee200db4d6cd43cb121 (diff) | |
download | CMake-c6d83a15d8ac11cba1388e853a9b321ca4e9c87a.zip CMake-c6d83a15d8ac11cba1388e853a9b321ca4e9c87a.tar.gz CMake-c6d83a15d8ac11cba1388e853a9b321ca4e9c87a.tar.bz2 |
libuv: Link with kvm on NetBSD and OpenBSD
We include the `kvm.h` header on these platforms and call kvm APIs.
Link with the library to ensure they are available.
Diffstat (limited to 'Utilities/cmlibuv')
-rw-r--r-- | Utilities/cmlibuv/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/CMakeLists.txt b/Utilities/cmlibuv/CMakeLists.txt index 8837be6..1b384b5 100644 --- a/Utilities/cmlibuv/CMakeLists.txt +++ b/Utilities/cmlibuv/CMakeLists.txt @@ -181,6 +181,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") endif() if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD") + list(APPEND uv_libraries + kvm + ) list(APPEND uv_headers include/uv-bsd.h ) @@ -191,6 +194,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD") endif() if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") + list(APPEND uv_libraries + kvm + ) list(APPEND uv_headers include/uv-bsd.h ) |