diff --git a/meson.build b/meson.build index a9fe41f..58e3441 100644 --- a/meson.build +++ b/meson.build @@ -138,8 +138,7 @@ subdir('data') # gnome.post_install() is available since meson 0.59.0 # Distributions use their own tooling (e.g. postinst, triggers, etc) # so it is okay if the post_install() is not run on distro builds -m_ver = meson.version().split('.') -if m_ver[0].to_int() > 0 or m_ver[1].to_int() > 58 +if meson.version().version_compare('>=0.59.0') gnome.post_install( glib_compile_schemas: true, gtk_update_icon_cache: true,