aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/util')
-rw-r--r--src/vulkan/util/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vulkan/util/meson.build b/src/vulkan/util/meson.build
index 6aba265cc81..7679b2bdda8 100644
--- a/src/vulkan/util/meson.build
+++ b/src/vulkan/util/meson.build
@@ -36,10 +36,17 @@ vk_enum_to_str = custom_target(
],
)
+vulkan_util_deps = []
+
+if with_platform_wayland
+ vulkan_util_deps += dep_wayland_client
+endif
+
libvulkan_util = static_library(
'vulkan_util',
[files_vulkan_util, vk_enum_to_str],
include_directories : inc_common,
+ dependencies : vulkan_util_deps,
c_args : [c_vis_args, vulkan_wsi_args],
build_by_default : false,
)