cmake: allow using system VMA library
This commit is contained in:
parent
28598c9090
commit
c3050c1b48
7 changed files with 11 additions and 6 deletions
8
src/video_core/vulkan_common/vma.cpp
Normal file
8
src/video_core/vulkan_common/vma.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#define VMA_IMPLEMENTATION
|
||||
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
||||
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
|
||||
|
||||
#include <vk_mem_alloc.h>
|
Loading…
Add table
Add a link
Reference in a new issue