reposition FILE_SET key

This commit is contained in:
Jan Kuhlmann 2025-04-02 17:54:40 +02:00 committed by Charles Giessen
parent 47d1f104c4
commit 140c8c711b

View file

@ -117,7 +117,7 @@ if (VULKAN_HEADERS_ENABLE_INSTALL)
set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers")
if (VULKAN_HEADERS_ENABLE_MODULE)
set_target_properties(Vulkan-HppModule PROPERTIES EXPORT_NAME "HppModule")
install(TARGETS Vulkan-Headers Vulkan-HppModule EXPORT VulkanHeadersConfig FILE_SET module INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(TARGETS Vulkan-Headers Vulkan-HppModule FILE_SET module EXPORT VulkanHeadersConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
else()
install(TARGETS Vulkan-Headers EXPORT VulkanHeadersConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
endif()