aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rttr/permission.patch
blob: bec7ac36bfc9a89122cc95de1caae56b719cb92b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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()