Add option to install vulkan.hpp header (#429)

This commit is contained in:
dan sinclair
2019-11-14 04:07:27 -05:00
committed by Andreas Süßenbach
parent e850963599
commit 2bd8e403e8

View File

@@ -113,3 +113,7 @@ option (TESTS_BUILD OFF)
if (TESTS_BUILD)
add_subdirectory(tests)
endif (TESTS_BUILD)
if (${VULKAN_HPP_INSTALL})
install(FILES ${vulkan_hpp} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vulkan)
endif()