add FILE_SET module to export
This commit is contained in:
parent
c4060c5c91
commit
cc4e52bad8
1 changed files with 3 additions and 3 deletions
|
|
@ -117,10 +117,10 @@ if (VULKAN_HEADERS_ENABLE_INSTALL)
|
||||||
set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers")
|
set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers")
|
||||||
list(APPEND INSTALL_TARGETS Vulkan-Headers)
|
list(APPEND INSTALL_TARGETS Vulkan-Headers)
|
||||||
if (VULKAN_HEADERS_ENABLE_MODULE)
|
if (VULKAN_HEADERS_ENABLE_MODULE)
|
||||||
set_target_properties(Vulkan-HppModule PROPERTIES EXPORT_NAME "HppModule")
|
set_target_properties(Vulkan-HppModule PROPERTIES EXPORT_NAME "HppModule")
|
||||||
list(APPEND INSTALL_TARGETS Vulkan-HppModule)
|
list(APPEND INSTALL_TARGETS Vulkan-HppModule)
|
||||||
endif()
|
endif()
|
||||||
install(TARGETS ${INSTALL_TARGETS} EXPORT VulkanHeadersConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(TARGETS ${INSTALL_TARGETS} EXPORT VulkanHeadersConfig FILE_SET module INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
|
||||||
install(EXPORT VulkanHeadersConfig NAMESPACE "Vulkan::" DESTINATION "share/cmake/VulkanHeaders")
|
install(EXPORT VulkanHeadersConfig NAMESPACE "Vulkan::" DESTINATION "share/cmake/VulkanHeaders")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue