mirror of https://github.com/xemu-project/xemu.git
meson: Add -DVK_NO_PROTOTYPES compile args on volk
This commit is contained in:
parent
f392869cab
commit
0d0dbc2886
|
@ -1,10 +1,10 @@
|
||||||
if vulkan.found()
|
if vulkan.found()
|
||||||
|
|
||||||
libvma = static_library('vma', sources: 'vma.cc', include_directories: 'VulkanMemoryAllocator/include', dependencies: vulkan)
|
libvolk = static_library('volk', sources: 'volk/volk.c', c_args: ['-DVK_NO_PROTOTYPES'], dependencies: vulkan)
|
||||||
vma = declare_dependency(include_directories: 'VulkanMemoryAllocator/include', link_with: libvma)
|
volk = declare_dependency(compile_args: ['-DVK_NO_PROTOTYPES'], include_directories: 'volk', link_with: libvolk, dependencies: vulkan)
|
||||||
|
|
||||||
libvolk = static_library('volk', sources: 'volk/volk.c', dependencies: vulkan)
|
libvma = static_library('vma', sources: 'vma.cc', include_directories: 'VulkanMemoryAllocator/include', dependencies: [vulkan, volk])
|
||||||
volk = declare_dependency(include_directories: 'volk', link_with: libvolk, dependencies: vulkan)
|
vma = declare_dependency(include_directories: 'VulkanMemoryAllocator/include', link_with: libvma)
|
||||||
|
|
||||||
libspirv_reflect = static_library('spirv_reflect', sources: 'SPIRV-Reflect/spirv_reflect.c', dependencies: vulkan)
|
libspirv_reflect = static_library('spirv_reflect', sources: 'SPIRV-Reflect/spirv_reflect.c', dependencies: vulkan)
|
||||||
spirv_reflect = declare_dependency(include_directories: 'SPIRV-Reflect', link_with: libspirv_reflect, dependencies: vulkan)
|
spirv_reflect = declare_dependency(include_directories: 'SPIRV-Reflect', link_with: libspirv_reflect, dependencies: vulkan)
|
||||||
|
|
Loading…
Reference in New Issue