From cc4e52bad8a4754d8219fa5126f6eff3767b8a94 Mon Sep 17 00:00:00 2001 From: Jan Kuhlmann <33833587+M2-TE@users.noreply.github.com> Date: Wed, 2 Apr 2025 17:46:07 +0200 Subject: [PATCH] add FILE_SET module to export --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1e55f8..e414006 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,10 +117,10 @@ if (VULKAN_HEADERS_ENABLE_INSTALL) set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers") list(APPEND INSTALL_TARGETS Vulkan-Headers) if (VULKAN_HEADERS_ENABLE_MODULE) - set_target_properties(Vulkan-HppModule PROPERTIES EXPORT_NAME "HppModule") - list(APPEND INSTALL_TARGETS Vulkan-HppModule) + set_target_properties(Vulkan-HppModule PROPERTIES EXPORT_NAME "HppModule") + list(APPEND INSTALL_TARGETS Vulkan-HppModule) 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")