mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 05:15:36 +00:00
meson: use version_compare to check meson version
This commit is contained in:
parent
57bcbb8a25
commit
8b6e43d9f5
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue