diff options
author | Antonio Caggiano <[email protected]> | 2022-03-01 16:29:51 +0100 |
---|---|---|
committer | Mike Schuchardt <[email protected]> | 2022-03-23 10:00:40 -0700 |
commit | b6554a7ff352dcaba44c1a1a7fbfd8b54dda4136 (patch) | |
tree | 7a7424daf56a10b7b86c5eba178b86ad60de4633 | |
parent | 7ad5775f8ab8d8db906fa6ebc72f14b6e9594a88 (diff) | |
download | Vulkan-Headers-b6554a7ff352dcaba44c1a1a7fbfd8b54dda4136.tar.gz Vulkan-Headers-b6554a7ff352dcaba44c1a1a7fbfd8b54dda4136.zip |
GN: Wayland include directories
Improve support for environments without wayland in their system include
directories, by adding the vulkan_wayland_include_dir variable which can
be defined in build_overrides.
-rw-r--r-- | BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" ] |