Fix: Add VkBootstrapDispatch to includable files

This commit is contained in:
sean 2021-10-30 23:39:40 +02:00 committed by Charles Giessen
parent 6bf383778b
commit 142986cdb7

View File

@ -27,7 +27,7 @@ else ()
endif() endif()
endif() endif()
add_library(vk-bootstrap src/VkBootstrap.h src/VkBootstrap.cpp) add_library(vk-bootstrap src/VkBootstrap.h src/VkBootstrap.cpp src/VkBootstrapDispatch.h)
add_library(vk-bootstrap::vk-bootstrap ALIAS vk-bootstrap) add_library(vk-bootstrap::vk-bootstrap ALIAS vk-bootstrap)
add_library(vk-bootstrap-compiler-warnings INTERFACE) add_library(vk-bootstrap-compiler-warnings INTERFACE)
@ -72,7 +72,7 @@ target_link_libraries(vk-bootstrap
target_compile_features(vk-bootstrap PUBLIC cxx_std_14) target_compile_features(vk-bootstrap PUBLIC cxx_std_14)
include(GNUInstallDirs) include(GNUInstallDirs)
install(FILES src/VkBootstrap.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(FILES src/VkBootstrap.h src/VkBootstrapDispatch.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(TARGETS vk-bootstrap install(TARGETS vk-bootstrap
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}