diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a20819..5a47a2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()