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.
This commit is contained in:
Scott Anderson 2018-10-15 11:39:35 +13:00
parent 7daca85bcf
commit 7ca3bc1d6f
4 changed files with 10 additions and 3 deletions

View file

@ -80,6 +80,7 @@ examples = {
libavcodec,
libavformat,
libavutil,
drm.partial_dependency(includes: true), # <drm_fourcc.h>
threads,
wayland_client,
wlr_protos,