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:
parent
3b5a4d8cb7
commit
7bf30e6c92
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue