Merge pull request #353 from juan-lunarg/juan/include_nitpick

Fixup include of "vk_mem_alloc.h"
This commit is contained in:
Adam Sawicki 2023-07-12 09:50:24 +02:00 committed by GitHub
commit 2a28bc4b39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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=$<BOOL:${VMA_STATIC_VULKAN_FUNCTIONS}>
VMA_DYNAMIC_VULKAN_FUNCTIONS=$<BOOL:${VMA_DYNAMIC_VULKAN_FUNCTIONS}>

View File

@ -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