meson: bump required version to 0.56.0

This commit is contained in:
Yu Watanabe 2022-05-16 03:36:34 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 573c0dc134
commit 80dc9ad98c
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ project('systemd', 'c',
'localstatedir=/var', 'localstatedir=/var',
'warning_level=2', 'warning_level=2',
], ],
meson_version : '>= 0.55.0', meson_version : '>= 0.56.0',
) )
libsystemd_version = '0.36.0' libsystemd_version = '0.36.0'

View file

@ -4,7 +4,7 @@ bashcompletiondir = get_option('bashcompletiondir')
if bashcompletiondir == '' if bashcompletiondir == ''
bash_completion = dependency('bash-completion', required : false) bash_completion = dependency('bash-completion', required : false)
if bash_completion.found() if bash_completion.found()
bashcompletiondir = bash_completion.get_pkgconfig_variable('completionsdir') bashcompletiondir = bash_completion.get_variable(pkgconfig : 'completionsdir')
else else
bashcompletiondir = datadir / 'bash-completion/completions' bashcompletiondir = datadir / 'bash-completion/completions'
endif endif