Create alias cmake target

This commit is contained in:
Lesley Lai 2020-03-25 12:15:36 -06:00
parent a727a05635
commit fa772cbeac

View File

@ -4,6 +4,7 @@ project(VulkanBootstrap)
find_package(Vulkan REQUIRED)
add_library(vk-bootstrap src/VkBootstrap.h src/VkBootstrap.cpp)
add_library(vk-bootstrap::vk-bootstrap ALIAS vk-bootstrap)
target_include_directories(vk-bootstrap PUBLIC src)