GN: Wayland include directories

Wayland headers can be found in multiple directories. Use an array to
specify those include directories.
This commit is contained in:
Antonio Caggiano 2022-03-29 16:33:15 +02:00 committed by Mike Schuchardt
parent 0c5928795a
commit 628eaec640

View file

@ -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) {