meson: include headers in root directory in ext_libdrm
authorDylan Baker <dylan@pnwbakers.com>
Wed, 7 Feb 2018 23:35:24 +0000 (15:35 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 9 Feb 2018 16:52:14 +0000 (08:52 -0800)
Which is used in wraps.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
meson.build

index 1342a5b..4aaeb7e 100644 (file)
@@ -294,7 +294,7 @@ libdrm = shared_library(
 
 ext_libdrm = declare_dependency(
   link_with : libdrm,
-  include_directories : inc_drm,
+  include_directories : [inc_root, inc_drm],
 )
 
 install_headers('libsync.h', 'xf86drm.h', 'xf86drmMode.h')