summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJuan Ramos <[email protected]>2022-12-05 09:16:09 -0700
committerJuan Ramos <[email protected]>2022-12-05 10:13:31 -0700
commit891c40de1ae1a02b6e2475e1e9684e0fc94fff27 (patch)
tree13f2c857c58f8f7d3132a2f8c28d16aba3116010
parent2826791bed6a793f164bf534cd859968f13df8a9 (diff)
downloadVulkan-Headers-891c40de1ae1a02b6e2475e1e9684e0fc94fff27.tar.gz
Vulkan-Headers-891c40de1ae1a02b6e2475e1e9684e0fc94fff27.zip
cmake: Fix cross-compilation
We need to revert b092b2f in Gentoo to fix multi-ABI vulkan-loader build This reverts commit b092b2fccc812453c1d0ec0a829eb8f34f174803. See https://github.com/KhronosGroup/Vulkan-Headers/issues/330 for details.
-rw-r--r--cmake/install.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/install.cmake b/cmake/install.cmake
index c19b5e7..047df01 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -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_LIBDIR}/cmake/VulkanHeaders/)
+set(cmake_files_install_dir ${CMAKE_INSTALL_DATADIR}/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")