From f7da5e3e38a75ceb02ceb727ec0ebed96ce2f1d2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 21 Nov 2022 11:49:06 +0100 Subject: [PATCH] wayland: enable use of wayland-protocols as a subproject This allows developers to link subprojects/wayland-protocols/ to a repository checkout. Useful when adding support for new protocols. Signed-off-by: Simon Ser Reviewed-by: Eric Engestrom Part-of: --- src/egl/wayland/wayland-drm/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/wayland/wayland-drm/meson.build b/src/egl/wayland/wayland-drm/meson.build index 6ab5b9260ff..e028eb034df 100644 --- a/src/egl/wayland/wayland-drm/meson.build +++ b/src/egl/wayland/wayland-drm/meson.build @@ -57,7 +57,7 @@ libwayland_drm = static_library( # # Moving these to a src/wsi/ was suggested but shot down, so put these # here for now as the maybe-least-bad solution. -wp_dir = dep_wl_protocols.get_variable(pkgconfig : 'pkgdatadir') +wp_dir = dep_wl_protocols.get_variable(pkgconfig : 'pkgdatadir', internal : 'pkgdatadir') wp_protos = { 'linux-dmabuf-unstable-v1': 'unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', 'presentation-time': 'stable/presentation-time/presentation-time.xml',