mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 17:17:56 -05:00
externals: Use cmake subdirectory
This commit is contained in:
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
@ -145,7 +145,7 @@ add_subdirectory(nx_tzdb)
|
||||
|
||||
# VMA
|
||||
add_library(vma vma/vma.cpp)
|
||||
target_include_directories(vma PUBLIC ./vma/vma/include)
|
||||
target_include_directories(vma PUBLIC ./vma/VulkanMemoryAllocator/include)
|
||||
target_link_libraries(vma PRIVATE Vulkan::Headers)
|
||||
|
||||
if (NOT TARGET LLVM::Demangle)
|
||||
|
1
externals/vma/vma.cpp
vendored
1
externals/vma/vma.cpp
vendored
@ -4,4 +4,5 @@
|
||||
#define VMA_IMPLEMENTATION
|
||||
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
||||
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
|
||||
|
||||
#include <vk_mem_alloc.h>
|
Reference in New Issue
Block a user