aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rttr/permission.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/rttr/permission.patch')
-rw-r--r--testing/rttr/permission.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/rttr/permission.patch b/testing/rttr/permission.patch
new file mode 100644
index 0000000000..bec7ac36bf
--- /dev/null
+++ b/testing/rttr/permission.patch
@@ -0,0 +1,13 @@
+Avoid installing headers with mode 700.
+
+--- a/CMake/utility.cmake
++++ b/CMake/utility.cmake
+@@ -165,7 +165,7 @@
+ getNameOfDir(CMAKE_CURRENT_SOURCE_DIR DIRNAME)
+ if (${shouldInstall})
+ if (NOT ${FULL_HEADER_PATH} MATCHES ".*_p.h$") # we don't want to install header files which are marked as private
+- install(FILES ${FULL_HEADER_PATH} DESTINATION "include/${DIRNAME}/${REL_PATH}" PERMISSIONS OWNER_READ)
++ install(FILES ${FULL_HEADER_PATH} DESTINATION "include/${DIRNAME}/${REL_PATH}")
+ endif()
+ endif()
+ endforeach()