diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b72bbcd..b51f1fb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -44,6 +44,8 @@ else() target_link_libraries(VmaSample PUBLIC Vulkan::Headers) endif() +target_link_libraries(VmaSample PRIVATE GPUOpen::VulkanMemoryAllocator) + target_compile_definitions(VmaSample PUBLIC VMA_STATIC_VULKAN_FUNCTIONS=$ VMA_DYNAMIC_VULKAN_FUNCTIONS=$ diff --git a/src/VmaUsage.h b/src/VmaUsage.h index 62bcd11..61f87d3 100644 --- a/src/VmaUsage.h +++ b/src/VmaUsage.h @@ -95,7 +95,7 @@ include all public interface declarations. Example: #pragma clang diagnostic ignored "-Wnullability-completeness" #endif -#include "../include/vk_mem_alloc.h" +#include "vk_mem_alloc.h" #ifdef __clang__ #pragma clang diagnostic pop