mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
libuv: Remove kvm dependency for all BSDs except NetBSD
This dependency is not expressed in upstream libuv. It was added to
CMake by commit 6a497bb0a3 (libuv: Link with kvm on FreeBSD, 2016-09-08,
v3.7.0-rc1~143^2~1). It is needed only on NetBSD.
Fixes: #26722
This commit is contained in:
@@ -219,7 +219,6 @@ endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
list(APPEND uv_libraries
|
||||
kvm
|
||||
)
|
||||
list(APPEND uv_headers
|
||||
include/uv/bsd.h
|
||||
@@ -236,7 +235,6 @@ endif()
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
|
||||
list(APPEND uv_libraries
|
||||
freebsd-glue
|
||||
kvm
|
||||
)
|
||||
list(APPEND uv_headers
|
||||
include/uv/bsd.h
|
||||
@@ -268,7 +266,6 @@ endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
||||
list(APPEND uv_libraries
|
||||
kvm
|
||||
)
|
||||
list(APPEND uv_headers
|
||||
include/uv/bsd.h
|
||||
|
||||
Reference in New Issue
Block a user