diff --git a/plugins/lenovo-thinklmi/meson.build b/plugins/lenovo-thinklmi/meson.build index 387fb5939..9aafe7b72 100644 --- a/plugins/lenovo-thinklmi/meson.build +++ b/plugins/lenovo-thinklmi/meson.build @@ -15,7 +15,7 @@ plugin_builtin_lenovo_thinklmi = static_library('fu_plugin_lenovo_thinklmi', ) plugin_builtins += plugin_builtin_lenovo_thinklmi -if get_option('tests') +if get_option('tests') and efiboot.found() and efivar.found() env = environment() env.set('G_TEST_SRCDIR', meson.current_source_dir()) env.set('G_TEST_BUILDDIR', meson.current_build_dir())