diff options
Diffstat (limited to 'src/vulkan/wsi/meson.build')
-rw-r--r-- | src/vulkan/wsi/meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vulkan/wsi/meson.build b/src/vulkan/wsi/meson.build index 223c8ca357e..53306295ee3 100644 --- a/src/vulkan/wsi/meson.build +++ b/src/vulkan/wsi/meson.build @@ -59,6 +59,14 @@ if with_platform_wayland ] endif +if with_platform_drm + vulkan_wsi_args += '-DVK_USE_PLATFORM_DISPLAY_KHR' + files_vulkan_wsi += files( + 'wsi_common_display.c', + 'wsi_common_display.h', + ) +endif + libvulkan_wsi = static_library( 'vulkan_wsi', files_vulkan_wsi, |