aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJuan Ramos <[email protected]>2022-12-14 10:56:25 -0700
committerJuan Ramos <[email protected]>2022-12-14 16:45:15 -0700
commit75a6b83f213da085ba33b82f053b956219a48730 (patch)
tree0d8f18e4b2bfba43df75d73e321e8b910484be4a
parent9b48e83ef8c318739f38a07e4cd15473ff09ad86 (diff)
downloadVulkan-Headers-75a6b83f213da085ba33b82f053b956219a48730.tar.gz
Vulkan-Headers-75a6b83f213da085ba33b82f053b956219a48730.zip
cmake: Preserve permissions from registry files
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d728536..b93fe8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,7 +70,7 @@ if (PROJECT_IS_TOP_LEVEL)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vk_video" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vulkan" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
# Install registry files
- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGISTRY_DIR})
+ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGISTRY_DIR} USE_SOURCE_PERMISSIONS)
set(export_name "VulkanHeadersConfig")
set(namespace "Vulkan::")