From ef282b699fc725ca2852959def0c94a301d6afd5 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Tue, 24 May 2022 17:05:15 -0500 Subject: [PATCH] trivial: don't require libgusb when building as a subproject on Windows --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index d88281e28..b91dd037a 100644 --- a/meson.build +++ b/meson.build @@ -510,7 +510,7 @@ conf.set_quoted('FWUPD_PLUGINDIR', plugin_dir) endif # sanity check, otherwise there is not point building -if host_machine.system() == 'windows' and not gusb.found() +if build_standalone and host_machine.system() == 'windows' and not gusb.found() error('gusb feature is required for Windows build') endif