mirror of https://github.com/auygun/kaliber.git
Fix for build (Windows)
This commit is contained in:
parent
d779d17b3d
commit
5b57d55c28
|
@ -2,12 +2,15 @@ source_set("vma") {
|
||||||
configs -= [ "//build:warnings" ]
|
configs -= [ "//build:warnings" ]
|
||||||
|
|
||||||
defines = [ "VMA_STATIC_VULKAN_FUNCTIONS=1" ]
|
defines = [ "VMA_STATIC_VULKAN_FUNCTIONS=1" ]
|
||||||
|
|
||||||
|
if (target_os != "win") {
|
||||||
cflags = [ "-Wno-nullability-completeness" ]
|
cflags = [ "-Wno-nullability-completeness" ]
|
||||||
|
}
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"vk_mem_alloc.cpp",
|
"vk_mem_alloc.cpp",
|
||||||
"vk_mem_alloc.h",
|
"vk_mem_alloc.h",
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = []
|
deps = [ "//src/third_party/volk" ]
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,5 @@ source_set("volk") {
|
||||||
"volk.h",
|
"volk.h",
|
||||||
]
|
]
|
||||||
|
|
||||||
deps = [ "//src/third_party/vulkan" ]
|
public_deps = [ "//src/third_party/vulkan" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue