aboutsummaryrefslogtreecommitdiff
path: root/tools/meson.build
blob: 10eb3a043f7773eacede26b9bb23e9f47da0c9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
have_virtiofsd = get_option('virtiofsd') \
    .require(targetos == 'linux',
             error_message: 'virtiofsd requires Linux') \
    .require(seccomp.found() and libcap_ng.found(),
             error_message: 'virtiofsd requires libcap-ng-devel and seccomp-devel') \
    .require(have_vhost_user,
             error_message: 'virtiofsd needs vhost-user-support') \
    .disable_auto_if(not have_tools and not have_system) \
    .allowed()

if have_virtiofsd
  subdir('virtiofsd')
endif