]> git.mdlowis.com Git - proto/labwc.git/commitdiff
meson.build: add drm dependency for drm_fourcc.h
authorJohan Malm <jgm323@gmail.com>
Sat, 13 Mar 2021 23:33:32 +0000 (23:33 +0000)
committerJohan Malm <jgm323@gmail.com>
Sat, 13 Mar 2021 23:33:32 +0000 (23:33 +0000)
meson.build

index 4317e5bc3a9cc246b2e5e671080b3cfc6bb07571..ea8cb6b17b8fdf2814a2b00e2036ccc8c6d6ebeb 100644 (file)
@@ -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')