mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 14:29:07 -07:00
cmake: Remove explicit install of Vulkan-Module
Installing a C++ module in CMake isn't something which is well defined currently. Rather than add code which behaves poorly or flat out wrong, it is better to not try to install a binary module for the time being. The vulkan.cppm file is still included in the install so downstream users can still create a module from it.
This commit is contained in:
parent
a692a9c939
commit
7dacb97fba
1 changed files with 0 additions and 8 deletions
|
@ -88,14 +88,6 @@ if (VULKAN_HEADERS_ENABLE_INSTALL)
|
|||
set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers")
|
||||
install(TARGETS Vulkan-Headers EXPORT VulkanHeadersConfig INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.28" AND COMPILER_SUPPORTS_CXX_MODULES)
|
||||
install(TARGETS Vulkan-Module
|
||||
EXPORT VulkanHeadersConfig
|
||||
FILE_SET module
|
||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/include/vulkan"
|
||||
)
|
||||
endif()
|
||||
|
||||
install(EXPORT VulkanHeadersConfig NAMESPACE "Vulkan::" DESTINATION "share/cmake/VulkanHeaders")
|
||||
|
||||
set(version_config "${CMAKE_CURRENT_BINARY_DIR}/generated/VulkanHeadersConfigVersion.cmake")
|
||||
|
|
Loading…
Reference in a new issue