Hey, I'm trying to use CPM to add VulkanMemoryAllocator (VMA) but when I go to link the library, it kinda hates me.
VMA docs:
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
target_link_libraries(YourGameEngine PRIVATE GPUOpen::VulkanMemoryAllocator)
My usage:
CPMAddPackage("gh:GPUOpen-LibrariesAndSDKs/[email protected]")
# ... continue on down...
target_link_libraries(${PROJECT_NAME} PRIVATE fmt::fmt GPUOpen::VulkanMemoryAllocator)
# Errors out saying that VMA is "not in any export set"
For reference:
https://github.com/cpm-cmake/CPM.cmake
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator