summaryrefslogtreecommitdiff
path: root/src/broadcom/vulkan/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom/vulkan/meson.build')
-rw-r--r--src/broadcom/vulkan/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/broadcom/vulkan/meson.build b/src/broadcom/vulkan/meson.build
index 58f4bcee989..938595afa1d 100644
--- a/src/broadcom/vulkan/meson.build
+++ b/src/broadcom/vulkan/meson.build
@@ -105,6 +105,13 @@ if with_platform_x11
libv3dv_files += files('v3dv_wsi_x11.c')
endif
+if with_platform_wayland
+ v3dv_deps += [dep_wayland_client, dep_wl_protocols]
+ v3dv_flags += '-DVK_USE_PLATFORM_WAYLAND_KHR'
+ libv3dv_files += files('v3dv_wsi_wayland.c')
+ libv3dv_files += [wayland_drm_client_protocol_h, wayland_drm_protocol_c]
+endif
+
if system_has_kms_drm and not with_platform_android
v3dv_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
libv3dv_files += files('v3dv_wsi_display.c')