summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/wsi/meson.build')
-rw-r--r--src/vulkan/wsi/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vulkan/wsi/meson.build b/src/vulkan/wsi/meson.build
index 53306295ee3..3501a864e18 100644
--- a/src/vulkan/wsi/meson.build
+++ b/src/vulkan/wsi/meson.build
@@ -67,6 +67,11 @@ if with_platform_drm
)
endif
+if with_xlib_lease
+ vulkan_wsi_deps += dep_xcb_xrandr
+ vulkan_wsi_args += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT'
+endif
+
libvulkan_wsi = static_library(
'vulkan_wsi',
files_vulkan_wsi,