diff --git a/src/third_party/vma/BUILD.gn b/src/third_party/vma/BUILD.gn index 4fad35d..f5396a0 100644 --- a/src/third_party/vma/BUILD.gn +++ b/src/third_party/vma/BUILD.gn @@ -2,12 +2,15 @@ source_set("vma") { configs -= [ "//build:warnings" ] defines = [ "VMA_STATIC_VULKAN_FUNCTIONS=1" ] - cflags = [ "-Wno-nullability-completeness" ] + + if (target_os != "win") { + cflags = [ "-Wno-nullability-completeness" ] + } sources = [ "vk_mem_alloc.cpp", "vk_mem_alloc.h", ] - deps = [] + deps = [ "//src/third_party/volk" ] } diff --git a/src/third_party/volk/BUILD.gn b/src/third_party/volk/BUILD.gn index 4dc906a..5293144 100644 --- a/src/third_party/volk/BUILD.gn +++ b/src/third_party/volk/BUILD.gn @@ -6,5 +6,5 @@ source_set("volk") { "volk.h", ] - deps = [ "//src/third_party/vulkan" ] + public_deps = [ "//src/third_party/vulkan" ] }