Skip to content
Snippets Groups Projects
Commit c6d83a15 authored by Brad King's avatar Brad King
Browse files

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.
parent 6a497bb0
No related branches found
No related tags found
No related merge requests found
......@@ -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
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment