meson: Add libdrm dependency for intel_drv

Looks like we need a libdrm dep on intel_drv. Build fails for me on
Arch.

In file included from ../src/intel_device.c:51:
/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory
 #include <drm.h>

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä 2018-06-01 20:10:02 +03:00 committed by Chris Wilson
parent ce31859ae5
commit 3d395062ce
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ intel_drv_sources = [
intel_drv_deps = [
dependency('pciaccess', version : '>= 0.10', required : true),
libdrm,
xorg,
]