Skip to content

Commit 75a6b83

Browse files
committed
cmake: Preserve permissions from registry files
1 parent 9b48e83 commit 75a6b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if (PROJECT_IS_TOP_LEVEL)
7070
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vk_video" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
7171
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vulkan" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
7272
# Install registry files
73-
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGISTRY_DIR})
73+
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${VLK_REGISTRY_DIR} USE_SOURCE_PERMISSIONS)
7474

7575
set(export_name "VulkanHeadersConfig")
7676
set(namespace "Vulkan::")

0 commit comments

Comments
 (0)