mirror of https://github.com/xemu-project/xemu.git
meson: Fix VMA options
This commit is contained in:
parent
792ed56d58
commit
22674f782c
|
@ -4,10 +4,10 @@ libvolk = static_library('volk', sources: 'volk/volk.c', c_args: ['-DVK_NO_PROTO
|
|||
volk = declare_dependency(compile_args: ['-DVK_NO_PROTOTYPES'], include_directories: 'volk', link_with: libvolk, dependencies: vulkan)
|
||||
|
||||
vma_defns = [
|
||||
'-DVMA_STATIC_VULKAN_FUNCTIONS=1',
|
||||
'-DVMA_STATIC_VULKAN_FUNCTIONS=0',
|
||||
'-DVMA_DYNAMIC_VULKAN_FUNCTIONS=0',
|
||||
]
|
||||
libvma = static_library('vma', sources: 'vma.cc', c_args: vma_defns, include_directories: 'VulkanMemoryAllocator/include', dependencies: [vulkan, volk])
|
||||
libvma = static_library('vma', sources: 'vma.cc', cpp_args: vma_defns, include_directories: 'VulkanMemoryAllocator/include', dependencies: [vulkan, volk])
|
||||
vma = declare_dependency(compile_args: vma_defns, include_directories: 'VulkanMemoryAllocator/include', link_with: libvma)
|
||||
|
||||
libspirv_reflect = static_library('spirv_reflect', sources: 'SPIRV-Reflect/spirv_reflect.c', dependencies: vulkan)
|
||||
|
|
Loading…
Reference in New Issue