mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-26 05:20:10 +01:00
Merge branch 'meson-add-option-to-disable-xlib-xcb' into 'master'
meson: add xlib-xcb option and disable by default Closes #438 See merge request cairo/cairo!132
This commit is contained in:
commit
553c19df16
2 changed files with 2 additions and 2 deletions
|
|
@ -331,8 +331,7 @@ if xcb_dep.found() and xcb_render_dep.found()
|
|||
endif
|
||||
|
||||
if feature_conf.get('CAIRO_HAS_XCB_SURFACE', 0) == 1 and feature_conf.get('CAIRO_HAS_XLIB_SURFACE', 0) == 1
|
||||
# FIXME: automagic
|
||||
x11xcb_dep = dependency('x11-xcb', required: false)
|
||||
x11xcb_dep = dependency('x11-xcb', required: get_option('xlib-xcb'))
|
||||
if x11xcb_dep.found()
|
||||
deps += [x11xcb_dep]
|
||||
feature_conf.set('CAIRO_HAS_XLIB_XCB_FUNCTIONS', 1)
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ option('qt', type : 'feature', value : 'disabled')
|
|||
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('zlib', type : 'feature', value : 'auto') # script, ps, pdf, xml surfaces
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue