mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 04:10:03 +01:00
meson: add glib version required/allowed checks
This commit is contained in:
parent
4af7e2bd68
commit
6c592f3322
1 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ endif
|
|||
cc = meson.get_compiler('c')
|
||||
|
||||
glib_req_version = '>= 2.58'
|
||||
add_project_arguments([
|
||||
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_58',
|
||||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_58',
|
||||
], language: 'c'
|
||||
)
|
||||
|
||||
glib_dep = dependency('glib-2.0', version : glib_req_version)
|
||||
gobject_dep = dependency('gobject-2.0', version : glib_req_version)
|
||||
gmodule_dep = dependency('gmodule-2.0', version : glib_req_version)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue