aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJonah Ryan-Davis <[email protected]>2019-10-25 10:29:12 -0600
committerMike Schuchardt <[email protected]>2019-11-06 07:57:37 -0800
commit52c26458545b4993ac2e69f27e87664962fd3224 (patch)
tree989400e93f34118f7a110185e7409b8cbc025e49
parentf3128cf6eaffeef6493b36dbfff732a249528bf7 (diff)
downloadVulkan-Headers-52c26458545b4993ac2e69f27e87664962fd3224.tar.gz
Vulkan-Headers-52c26458545b4993ac2e69f27e87664962fd3224.zip
build: BUILD.gn missing defines for MacOS
BUILD.gn does not define VK_USE_PLATFORM_METAL_EXT for MacOS
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 5c70229..56c115d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -28,6 +28,9 @@ config("vulkan_headers_config") {
if (is_fuchsia) {
defines = [ "VK_USE_PLATFORM_FUCHSIA" ]
}
+ if (is_mac) {
+ defines = [ "VK_USE_PLATFORM_METAL_EXT" ]
+ }
}
# Vulkan headers only, no compiled sources.