diff --git a/meson.build b/meson.build index f47c164bf0..90619713d5 100644 --- a/meson.build +++ b/meson.build @@ -897,7 +897,7 @@ if not meson.is_cross_build() gnome.post_install( glib_compile_schemas: true, gio_querymodules: gio_module_dirs, - gtk_update_icon_cache: true, + gtk_update_icon_cache: get_option('demos'), ) else meson.add_install_script('build-aux/meson/post-install.py',