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:
parent
0c5928795a
commit
628eaec640
4
BUILD.gn
4
BUILD.gn
@ -27,8 +27,8 @@ config("vulkan_headers_config") {
|
|||||||
}
|
}
|
||||||
if (defined(vulkan_use_wayland) && vulkan_use_wayland) {
|
if (defined(vulkan_use_wayland) && vulkan_use_wayland) {
|
||||||
defines += [ "VK_USE_PLATFORM_WAYLAND_KHR" ]
|
defines += [ "VK_USE_PLATFORM_WAYLAND_KHR" ]
|
||||||
if (defined(vulkan_wayland_include_dir)) {
|
if (defined(vulkan_wayland_include_dirs)) {
|
||||||
include_dirs += [ "$vulkan_wayland_include_dir" ]
|
include_dirs += vulkan_wayland_include_dirs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (is_android) {
|
if (is_android) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user