libuv: Link with kvm on FreeBSD

Add it unconditionally.  It is present in FreeBSD 11, 10 and 9.
This commit is contained in:
Roger Leigh 2016-09-08 21:55:36 +01:00 committed by Brad King
parent f506489d1e
commit 6a497bb0a3
1 changed files with 3 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
)