aboutsummaryrefslogtreecommitdiff
path: root/ui/meson.build
diff options
context:
space:
mode:
authorBruce Rogers <brogers@suse.com>2020-10-15 14:18:40 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-17 10:45:52 -0400
commit3856873ee404c028a47115147f21cdc4b0d25566 (patch)
treea9824b5412a06c05add5df234e789e46b4e6ae62 /ui/meson.build
parentc6502638075557ff38fbb874af32f91186b667eb (diff)
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>
Diffstat (limited to 'ui/meson.build')
-rw-r--r--ui/meson.build7
1 files changed, 5 insertions, 2 deletions
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}