meson: Update to 0.59

This commit is contained in:
Maximiliano Sandoval R 2022-03-18 12:18:45 +01:00 committed by Niels De Graef
parent fcece2a649
commit 080ead9775
2 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
project('geary', [ 'vala', 'c' ],
version: '43.dev',
license: 'LGPL2.1+',
meson_version: '>= 0.55',
meson_version: '>= 0.59',
)
# Determine the type of build
@ -34,9 +34,9 @@ lib_dir = geary_prefix / get_option('libdir')
locale_dir = geary_prefix / get_option('localedir')
# Source dirs
metadata_dir = meson.source_root() / 'bindings'/ 'metadata'
po_dir = meson.source_root() / 'po'
vapi_dir = meson.source_root() / 'bindings' / 'vapi'
metadata_dir = meson.project_source_root() / 'bindings'/ 'metadata'
po_dir = meson.project_source_root() / 'po'
vapi_dir = meson.project_source_root() / 'bindings' / 'vapi'
# Compiler configuration
add_project_arguments([
@ -153,7 +153,7 @@ if not libhandy.found()
libhandy_project.get_variable('libhandy_vapi')
]
)
libhandy_vapi = meson.build_root() / 'subprojects' / 'libhandy' / 'src'
libhandy_vapi = meson.project_build_root() / 'subprojects' / 'libhandy' / 'src'
endif
# Optional dependencies