File: fix-headers-install.diff

package info (click to toggle)
vulkan-loader 1.3.239.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 26,752 kB
  • sloc: ansic: 228,516; cpp: 24,431; xml: 24,128; python: 5,502; asm: 2,525; sh: 122; makefile: 62
file content (11 lines) | stat: -rw-r--r-- 646 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/vulkan-headers/CMakeLists.txt
+++ b/vulkan-headers/CMakeLists.txt
@@ -69,7 +69,7 @@ if (PROJECT_IS_TOP_LEVEL)
     # Install registry files
     install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGISTRY_DIR} USE_SOURCE_PERMISSIONS)
     # Where *.cmake files will be installed
-    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")