mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-10 06:48:03 +00:00
gn: Fix validation layer build
closes KhronosGroup/Vulkan-ValidationLayers/issues/6780
This commit is contained in:
parent
3f7a5370a3
commit
62c8c6a4a4
1 changed files with 7 additions and 1 deletions
8
BUILD.gn
8
BUILD.gn
|
@ -27,9 +27,15 @@ config("vulkan_headers_config") {
|
|||
if (is_fuchsia) {
|
||||
defines += [ "VK_USE_PLATFORM_FUCHSIA" ]
|
||||
}
|
||||
if (is_mac) {
|
||||
if (is_apple) {
|
||||
defines += [ "VK_USE_PLATFORM_METAL_EXT" ]
|
||||
}
|
||||
if (is_mac) {
|
||||
defines += [ "VK_USE_PLATFORM_MACOS_MVK" ]
|
||||
}
|
||||
if (is_ios) {
|
||||
defines += [ "VK_USE_PLATFORM_IOS_MVK" ]
|
||||
}
|
||||
if (defined(is_ggp) && is_ggp) {
|
||||
defines += [ "VK_USE_PLATFORM_GGP" ]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue