build: Bump minimum Meson version to 0.56.0

The subsequent commit will further bump the minimum Meson version to
0.58.0. This will make it easier to read.

https://github.com/containers/toolbox/pull/942
This commit is contained in:
Debarshi Ray 2021-11-13 04:05:09 +01:00
parent 677dda64f3
commit e28a306a7f

View file

@ -3,7 +3,7 @@ project(
'c',
version: '0.0.99.2',
license: 'ASL 2.0',
meson_version: '>= 0.53.0',
meson_version: '>= 0.56.0',
)
cc = meson.get_compiler('c')
@ -21,13 +21,13 @@ profiledir = get_option('profile_dir')
tmpfilesdir = get_option('tmpfiles_dir')
if tmpfilesdir == ''
systemd_dep = dependency('systemd')
tmpfilesdir = systemd_dep.get_pkgconfig_variable('tmpfilesdir')
tmpfilesdir = systemd_dep.get_variable(pkgconfig: 'tmpfilesdir')
endif
if bash_completion.found()
install_data(
'completion/bash/toolbox',
install_dir: bash_completion.get_pkgconfig_variable('completionsdir')
install_dir: bash_completion.get_variable(pkgconfig: 'completionsdir')
)
endif