build: Specifify glib versions
This avoids deprecation warnings due to GTimeVal used in libebook-contacts.h See https://tecnocode.co.uk/2019/08/24/gtimeval-deprecation-in-glib-2-61-2/ It's already fixed in newer eds so we can drop this once we move to a newer stack.
This commit is contained in:
@@ -58,6 +58,11 @@ config_data.set_quoted('PACKAGE_URL', calls_homepage)
|
||||
config_data.set_quoted('PACKAGE_VERSION', calls_version)
|
||||
config_data.set('PACKAGE_URL_RAW', calls_homepage)
|
||||
|
||||
add_project_arguments([
|
||||
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_58',
|
||||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_60',
|
||||
], language: 'c')
|
||||
|
||||
subdir('po')
|
||||
subdir('src')
|
||||
subdir('plugins')
|
||||
|
||||
Reference in New Issue
Block a user