Skip to content

Commit

Permalink
project: Bump minimum GLib version to 2.72
Browse files Browse the repository at this point in the history
This is available in Ubuntu 22.04, let's use it.
  • Loading branch information
GeorgesStavracas committed Oct 29, 2024
1 parent e471c26 commit 3d0d929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ foreach h : check_headers
config_h.set(h.get(1), cc.has_header(h.get(0)))
endforeach

glib_dep = dependency('glib-2.0', version: '>= 2.66')
glib_dep = dependency('glib-2.0', version: '>= 2.72')
gio_dep = dependency('gio-2.0')
gio_unix_dep = dependency('gio-unix-2.0')
json_glib_dep = dependency('json-glib-1.0')
Expand Down Expand Up @@ -160,7 +160,7 @@ if have_libsystemd
config_h.set('HAVE_LIBSYSTEMD', 1)
endif

add_project_arguments(['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66'], language: 'c')
add_project_arguments(['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_72'], language: 'c')

build_documentation = false
gdbus_codegen = find_program('gdbus-codegen', native: true, required: get_option('documentation'))
Expand Down

0 comments on commit 3d0d929

Please sign in to comment.