mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-01 07:10:14 +01:00
meson: Add xml option and disable by default
Just like autotools does.
This commit is contained in:
parent
bdb4d05868
commit
627aa65674
2 changed files with 2 additions and 3 deletions
|
|
@ -756,8 +756,7 @@ if zlib_dep.found()
|
|||
conf.set('CAIRO_HAS_INTERPRETER', 1)
|
||||
endif
|
||||
|
||||
# TODO: add xml option and disable by default
|
||||
if zlib_dep.found() and png_dep.found()
|
||||
if zlib_dep.found() and png_dep.found() and get_option('xml').enabled()
|
||||
feature_conf.set('CAIRO_HAS_XML_SURFACE', 1)
|
||||
built_features += [{
|
||||
'name': 'cairo-xml',
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ option('tee', type : 'feature', value : 'disabled')
|
|||
option('xcb', type : 'feature', value : 'auto')
|
||||
option('xlib', type : 'feature', value : 'auto')
|
||||
option('xlib-xcb', type : 'feature', value : 'disabled')
|
||||
#option('xml', type : 'feature', value : 'disabled')
|
||||
option('xml', type : 'feature', value : 'disabled')
|
||||
option('zlib', type : 'feature', value : 'auto') # script, ps, pdf, xml surfaces
|
||||
|
||||
# Tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue