aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAntonio Caggiano <[email protected]>2022-03-29 16:33:15 +0200
committerMike Schuchardt <[email protected]>2022-04-01 10:04:36 -0700
commit628eaec640e117b859cfd80e4b1abb2570e08ccd (patch)
tree1449942723323f07980ec39b52ff2ca97491a479
parent0c5928795a66e93f65e5e68a36d8daa79a209dc2 (diff)
downloadVulkan-Headers-628eaec640e117b859cfd80e4b1abb2570e08ccd.tar.gz
Vulkan-Headers-628eaec640e117b859cfd80e4b1abb2570e08ccd.zip
GN: Wayland include directories
Wayland headers can be found in multiple directories. Use an array to specify those include directories.
-rw-r--r--BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 48182b6..fe551f4 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -27,8 +27,8 @@ 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 (defined(vulkan_wayland_include_dirs)) {
+ include_dirs += vulkan_wayland_include_dirs
}
}
if (is_android) {