From: Bruce Rogers Date: Thu, 15 Oct 2020 20:18:40 +0000 (-0600) Subject: meson: Only install icons and qemu.desktop if have_system X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3856873ee404c028a47115147f21cdc4b0d25566;p=qemu.git meson: Only install icons and qemu.desktop if have_system These files are not needed for a linux-user only install. Signed-off-by: Bruce Rogers Message-Id: <20201015201840.282956-1-brogers@suse.com> Signed-off-by: Paolo Bonzini --- diff --git a/ui/meson.build b/ui/meson.build index 78ad792ffb..fb36d305ca 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -113,8 +113,11 @@ if have_system or xkbcommon.found() endif subdir('shader') -subdir('icons') -install_data('qemu.desktop', install_dir: config_host['qemu_desktopdir']) +if have_system + subdir('icons') + + install_data('qemu.desktop', install_dir: config_host['qemu_desktopdir']) +endif modules += {'ui': ui_modules}