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 <brogers@suse.com>
Message-Id: <20201015201840.282956-1-brogers@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Bruce Rogers 2020-10-15 14:18:40 -06:00 committed by Paolo Bonzini
parent c650263807
commit 3856873ee4

View File

@ -113,8 +113,11 @@ if have_system or xkbcommon.found()
endif
subdir('shader')
if have_system
subdir('icons')
install_data('qemu.desktop', install_dir: config_host['qemu_desktopdir'])
endif
modules += {'ui': ui_modules}