Allow the Findkvm module on all BSDs

This commit is contained in:
Steffen Winter 2024-01-15 16:00:34 +01:00
parent e936339038
commit cec251bf05
No known key found for this signature in database
GPG key ID: C71210D2D5BB9DC3

View file

@ -3,7 +3,7 @@
# Find libkvm, the Kernel Data Access Library
#
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
if(BSD)
find_path(kvm_INCLUDE_DIR NAMES kvm.h)
find_library(kvm_LIBRARY NAMES kvm)