Merge topic 'libuv-link-kvm'

c6d83a15 libuv: Link with kvm on NetBSD and OpenBSD
6a497bb0 libuv: Link with kvm on FreeBSD
This commit is contained in:
Brad King 2016-09-12 09:31:29 -04:00 committed by CMake Topic Stage
commit 71a70c0e6c
1 changed files with 9 additions and 0 deletions

View File

@ -168,6 +168,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
list(APPEND uv_libraries
kvm
)
list(APPEND uv_headers
include/uv-bsd.h
)
@ -178,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
)
@ -188,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
)