From 1fb9d5eaa4ec5dbe2acdc7df6960b19b90bc6b95 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Sat, 13 Mar 2021 23:33:32 +0000 Subject: [PATCH] meson.build: add drm dependency for drm_fourcc.h --- meson.build | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 4317e5bc..ea8cb6b1 100644 --- a/meson.build +++ b/meson.build @@ -48,6 +48,8 @@ wayland_server = dependency('wayland-server') wayland_protos = dependency('wayland-protocols') xkbcommon = dependency('xkbcommon') xcb = dependency('xcb', required: get_option('xwayland')) +drm_full = dependency('libdrm') +drm = drm_full.partial_dependency(compile_args: true, includes: true) xml2 = dependency('libxml-2.0') glib = dependency('glib-2.0') cairo = dependency('cairo') @@ -68,8 +70,18 @@ labwc_inc = include_directories('include') subdir('protocols') labwc_deps = [ - server_protos, wayland_server, wlroots, xkbcommon, xml2, glib, - cairo, pangocairo, input, pixman, math, + server_protos, + wayland_server, + wlroots, + xkbcommon, + xml2, + glib, + cairo, + drm, + pangocairo, + input, + pixman, + math, ] subdir('include')