From d7bedc20af15142f77d5e8da02986d71dd7bcf24 Mon Sep 17 00:00:00 2001 From: James Beddek Date: Sat, 30 Oct 2021 19:55:49 +1300 Subject: [PATCH] synaptics-rmi: fix meson configure when building tests if synaptics-rmi is disabled and gnutls is not used, the configure fails move the synaptics-rmi test check behind the "plugin_synaptics_rmi" option --- plugins/synaptics-rmi/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/synaptics-rmi/meson.build b/plugins/synaptics-rmi/meson.build index 58ad4146d..35acc0952 100644 --- a/plugins/synaptics-rmi/meson.build +++ b/plugins/synaptics-rmi/meson.build @@ -39,8 +39,6 @@ shared_module('fu_plugin_synaptics_rmi', ], ) -endif - if get_option('tests') install_data(['tests/synaptics-rmi-0x.builder.xml','tests/synaptics-rmi-10.builder.xml'], install_dir: join_paths(installed_test_datadir, 'tests')) @@ -73,3 +71,4 @@ if get_option('tests') ) test('synaptics-rmi-self-test', e, env : env) endif +endif