mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
gn: Fix validation layer build
closes KhronosGroup/Vulkan-ValidationLayers/issues/6780
This commit is contained in:
parent
3f7a5370a3
commit
aff5071d4e
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…
Reference in a new issue