aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index bd96c7d3..bbbd93e2 100644
--- a/meson.build
+++ b/meson.build
@@ -43,6 +43,12 @@ else
os = option_os
endif
+if os != 'Linux'
+ kvm_dep = cc.find_library('kvm', required: true)
+else
+ kvm_dep = []
+endif
+
pam_dep = dependency('pam', required: false)
if not pam_dep.found()
pam_dep = cc.find_library('pam', required: false)