aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 296171d..48182b6 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -27,6 +27,9 @@ config("vulkan_headers_config") {
}
if (defined(vulkan_use_wayland) && vulkan_use_wayland) {
defines += [ "VK_USE_PLATFORM_WAYLAND_KHR" ]
+ if (defined(vulkan_wayland_include_dir)) {
+ include_dirs += [ "$vulkan_wayland_include_dir" ]
+ }
}
if (is_android) {
defines += [ "VK_USE_PLATFORM_ANDROID_KHR" ]