meson: declare CFLAGS dependencies for xcb-stuff

on FreeBSD we need append to the lookup path a non default path to
find headers
This commit is contained in:
Baptiste Daroussin 2022-06-23 14:49:47 +02:00 committed by Daniel Eklöf
parent 138db05d70
commit d15d1f58f7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -90,7 +90,11 @@ if backend_x11
c_args: xcb_errors.found() ? '-DHAVE_XCB_ERRORS' : [],
pic: plugs_as_libs)
xcb_stuff = declare_dependency(link_with: xcb_stuff_lib)
xcb_stuff = declare_dependency(
link_with: xcb_stuff_lib,
dependencies: [xcb_aux, xcb_cursor, xcb_event, xcb_ewmh, xcb_randr,
xcb_render, xcb_errors],
)
install_headers('xcb.h', subdir: 'yambar')
endif