mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-09-20 06:32:16 +00:00
cmake: use find_dependency
This commit is contained in:
parent
db15ce374e
commit
870bae0fca
@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
include(CMakeFindDependencyMacro)
|
include(CMakeFindDependencyMacro)
|
||||||
|
|
||||||
find_package(Vulkan REQUIRED)
|
if(@VMA_STATIC_VULKAN_FUNCTIONS@)
|
||||||
|
find_dependency(Vulkan)
|
||||||
|
else()
|
||||||
|
find_dependency(VulkanHeaders)
|
||||||
|
endif()
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/VulkanMemoryAllocatorTargets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/VulkanMemoryAllocatorTargets.cmake")
|
||||||
check_required_components("@PROJECT_NAME@")
|
check_required_components("@PROJECT_NAME@")
|
||||||
|
Loading…
Reference in New Issue
Block a user