File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,15 @@ endif()
1414
1515if (PROJECT_IS_TOP_LEVEL)
1616 include (GNUInstallDirs )
17+ include (CMakePackageConfigHelpers )
1718
1819 install (DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} /include/" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
1920 install (TARGETS VulkanMemoryAllocator EXPORT VulkanMemoryAllocatorConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
2021 install (EXPORT VulkanMemoryAllocatorConfig NAMESPACE "GPUOpen::" DESTINATION "share/cmake/VulkanMemoryAllocator" )
2122
23+ write_basic_package_version_file (VulkanMemoryAllocatorConfigVersion.cmake COMPATIBILITY SameMajorVersion ARCH_INDEPENDENT )
24+ install (FILES "${CMAKE_CURRENT_BINARY_DIR} /VulkanMemoryAllocatorConfigVersion.cmake" DESTINATION "share/cmake/VulkanMemoryAllocator" )
25+
2226 option (VMA_BUILD_DOCUMENTATION "Create and install the HTML based API documentation" )
2327 if (VMA_BUILD_DOCUMENTATION)
2428 find_package (Doxygen REQUIRED )
You can’t perform that action at this time.
0 commit comments