mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 06:26:00 -07:00
cmake: Fix environment for cross-compile installs
Currently the include directory is arch-dependent. However, the location where the *.cmake files are installed is arch-independent. This difference causes an issue with cross compile environments.
This commit is contained in:
parent
974db1cede
commit
b092b2fccc
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGIS
|
|||
|
||||
set(export_name "VulkanHeadersConfig")
|
||||
set(namespace "Vulkan::")
|
||||
set(cmake_files_install_dir ${CMAKE_INSTALL_DATADIR}/cmake/VulkanHeaders/)
|
||||
set(cmake_files_install_dir ${CMAKE_INSTALL_LIBDIR}/cmake/VulkanHeaders/)
|
||||
|
||||
# Set EXPORT_NAME for consistency with established names. The CMake generated ones won't work.
|
||||
set_target_properties(Vulkan-Headers PROPERTIES EXPORT_NAME "Headers")
|
||||
|
|
Loading…
Reference in a new issue