summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Winter <steffen.winter@proton.me>2024-01-15 16:00:34 +0100
committerSteffen Winter <steffen.winter@proton.me>2024-01-15 16:00:34 +0100
commitcec251bf0569bdbf92ff2abfc85661ad030148f3 (patch)
tree0df885e7961ca4a1f603634fcdee789a40c1c5c2
parente936339038dc77ded0b51ab3f3b1341808a85e4e (diff)
Allow the Findkvm module on all BSDs
-rw-r--r--cmake/Modules/Findkvm.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/Findkvm.cmake b/cmake/Modules/Findkvm.cmake
index a0847de..9e4d82b 100644
--- a/cmake/Modules/Findkvm.cmake
+++ b/cmake/Modules/Findkvm.cmake
@@ -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)