Skip to content
Snippets Groups Projects
Commit fdf4f657 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

meson: disable xwd if xcb is not enabled

It is always disabled for Windows and Darwin targets in configure.
parent 9d382b9f
No related branches found
No related tags found
1 merge request!3181meson: disable xwd if xcb is not enabled
Pipeline #307878 passed with stage
in 24 minutes and 43 seconds
......@@ -238,13 +238,17 @@ if rsvg_dep.found() and cairo_dep.found()
endif
# xwd
xproto_dep = dependency('xproto', required: get_option('xcb'))
if xproto_dep.found()
vlc_modules += {
'name' : 'xwd',
'sources' : files('xwd.c'),
'dependencies' : [xproto_dep]
}
if (get_option('xcb')
.disable_auto_if(host_system in ['darwin', 'windows'])
.allowed())
xproto_dep = dependency('xproto', required: get_option('xcb'))
if xproto_dep.found()
vlc_modules += {
'name' : 'xwd',
'sources' : files('xwd.c'),
'dependencies' : [xproto_dep]
}
endif
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment