VMA-Hpp links the VMA library as VulkanMemoryAllocator::VulkanMemoryAllocator, even though VMA's CMakeLists.txt does not alias the namespace anywhere. I don't know if it's an issue with my installation, but I can't see anything suggesting that might work.
Current CMakeLists.txt doesn't allow VMA-Hpp's users to supply their own VMA Cmake project. I suggest a solution in the code block below:
Obviously the VulkanMemoryAllocator::VulkanMemoryAllocator situation should be resolved first. Maybe that's how it shows up if find_package does its thing? I don't know since VMA is not installed as a package on my system. If that's the case, then the alias should also be added after the add_subdirectory statement.
Two issues I came across:
VulkanMemoryAllocator::VulkanMemoryAllocator
, even though VMA's CMakeLists.txt does not alias the namespace anywhere. I don't know if it's an issue with my installation, but I can't see anything suggesting that might work.Obviously the
VulkanMemoryAllocator::VulkanMemoryAllocator
situation should be resolved first. Maybe that's how it shows up iffind_package
does its thing? I don't know since VMA is not installed as a package on my system. If that's the case, then the alias should also be added after theadd_subdirectory
statement.