diff options
author | Scott Anderson <scott@anderso.nz> | 2018-10-15 11:39:35 +1300 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2018-10-15 11:39:35 +1300 |
commit | 7ca3bc1d6f36fd1751902e1976feceb427e6aba3 (patch) | |
tree | 34b4328b4a5e05ce69612da0c7fd2008e8a711cd /render/meson.build | |
parent | 7daca85bcf4f3c0567697afb3603472394a85273 (diff) |
Fix libdrm includes
This removes any assumptions about how the libdrm headers are installed,
and uses the pkg-config include directories as we're "supposed to".
This only adds a partial dependency, since we don't actually need to
link against libdrm.
Diffstat (limited to 'render/meson.build')
-rw-r--r-- | render/meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/render/meson.build b/render/meson.build index ab66eab0..8c126299 100644 --- a/render/meson.build +++ b/render/meson.build @@ -22,7 +22,13 @@ lib_wlr_render = static_library( ), glapi, include_directories: wlr_inc, - dependencies: [egl, glesv2, pixman, wayland_server], + dependencies: [ + egl, + drm.partial_dependency(includes: true), # <drm_fourcc.h> + glesv2, + pixman, + wayland_server + ], ) wlr_render = declare_dependency( |