rsvg: Suppress deprecation warnings

Newer APIs will be used when necessary, to maintain compatibility with
older versions of rsvg. In the mean time, disable the noisy warnings.
This commit is contained in:
Harry Jeffery 2021-12-08 22:00:41 +00:00
parent 3b5a4d8cb7
commit 7bf30e6c92

View file

@ -19,6 +19,8 @@ add_project_arguments('-DIMV_VERSION="@0@"'.format(version), language: 'c')
add_project_arguments('-D_XOPEN_SOURCE=700', language: 'c')
add_project_arguments('-DRSVG_DISABLE_DEPRECATION_WARNINGS', language: 'c')
cc = meson.get_compiler('c')
dep_null = dependency('', required: false)
m_dep = cc.find_library('m', required : false)