summaryrefslogtreecommitdiffstats
path: root/externals/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2023-06-27 22:54:33 +0200
committerAlexandre Bouvier <contact@amb.tf>2023-07-12 04:51:45 +0200
commitc3050c1b48040ee1c66f7e84efa8e49fbe35a3e3 (patch)
treee69757e6255f68e5e18f1c8d483323e9a9cdbd4e /externals/CMakeLists.txt
parentMerge pull request #10985 from liamwhite/handle-translate (diff)
downloadyuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.gz
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.bz2
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.lz
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.xz
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.zst
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.zip
Diffstat (limited to 'externals/CMakeLists.txt')
-rw-r--r--externals/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 4ff588851..1f7cd598e 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -144,9 +144,9 @@ endif()
add_subdirectory(nx_tzdb)
# VMA
-add_library(vma vma/vma.cpp)
-target_include_directories(vma PUBLIC ./vma/VulkanMemoryAllocator/include)
-target_link_libraries(vma PRIVATE Vulkan::Headers)
+if (NOT TARGET GPUOpen::VulkanMemoryAllocator)
+ add_subdirectory(VulkanMemoryAllocator)
+endif()
if (NOT TARGET LLVM::Demangle)
add_library(demangle demangle/ItaniumDemangle.cpp)