Fix for build (Windows)

This commit is contained in:
Attila Uygun 2023-09-26 22:32:44 +02:00
parent d779d17b3d
commit 5b57d55c28
2 changed files with 6 additions and 3 deletions

View File

@ -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" ]
}

View File

@ -6,5 +6,5 @@ source_set("volk") {
"volk.h",
]
deps = [ "//src/third_party/vulkan" ]
public_deps = [ "//src/third_party/vulkan" ]
}