mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-03 13:41:12 +00:00

tristate features will automatically disable if dependencies marked as required are missing. Packagers can manually override using `auto_features`. Link: https://mesonbuild.com/Build-options.html#features
28 lines
538 B
Meson
28 lines
538 B
Meson
if get_option('hsi') and \
|
|
get_option('plugin_uefi_pk').require(gnutls.found(),
|
|
error_message: 'gnutls is needed for plugin_uefi_pk').allowed()
|
|
cargs = ['-DG_LOG_DOMAIN="FuPluginUefiPk"']
|
|
|
|
shared_module('fu_plugin_uefi_pk',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-uefi-pk.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
],
|
|
)
|
|
endif
|