meson: split and simplify dependencies
Rather than group dependencies in complex groups, use a flatter
structure with split dependencies to avoid checking for the same
dependencies twice.
v2: - Fix building vulkan drivers without gallium or dri drivers
v3: - Drop TODO comment that is done
- Fix typo in commit message
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -26,7 +26,10 @@ if with_platform_x11 and with_dri3
|
||||
['loader_dri3_helper.c', 'loader_dri3_helper.h'],
|
||||
c_args : c_vis_args,
|
||||
include_directories : inc_include,
|
||||
dependencies : [dep_xcb_dri3, dep_libdrm],
|
||||
dependencies : [
|
||||
dep_xshmfence, dep_xcb_present, dep_xcb_dri3, dep_xcb_sync, dep_x11_xcb,
|
||||
dep_xext, dep_xdamage, dep_xcb_glx, dep_libdrm,
|
||||
],
|
||||
build_by_default : false,
|
||||
)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user