mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
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
1 changed files with 2 additions and 2 deletions
4
BUILD.gn
4
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) {
|
||||
|
|
Loading…
Reference in a new issue