mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-21 20:00:11 +00:00
Merge pull request #352 from juan-lunarg/juan/pedantic_cmake_fix
cmake: Use share instead of DATADIR for CMake config files
This commit is contained in:
commit
53f4c153db
@ -17,7 +17,7 @@ if (PROJECT_IS_TOP_LEVEL)
|
|||||||
|
|
||||||
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
install(TARGETS VulkanMemoryAllocator EXPORT VulkanMemoryAllocatorConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(TARGETS VulkanMemoryAllocator EXPORT VulkanMemoryAllocatorConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
install(EXPORT VulkanMemoryAllocatorConfig NAMESPACE "GPUOpen::" DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/VulkanMemoryAllocator")
|
install(EXPORT VulkanMemoryAllocatorConfig NAMESPACE "GPUOpen::" DESTINATION "share/cmake/VulkanMemoryAllocator")
|
||||||
|
|
||||||
option(VMA_BUILD_DOCUMENTATION "Create and install the HTML based API documentation")
|
option(VMA_BUILD_DOCUMENTATION "Create and install the HTML based API documentation")
|
||||||
if(VMA_BUILD_DOCUMENTATION)
|
if(VMA_BUILD_DOCUMENTATION)
|
||||||
|
Loading…
Reference in New Issue
Block a user