vcpkg/ports/rttr/remove-owner-read-perms.patch

42 lines
1.6 KiB
Diff
Raw Normal View History

diff --git a/CMake/config.cmake b/CMake/config.cmake
index 1d753b3..393e3d0 100644
--- a/CMake/config.cmake
+++ b/CMake/config.cmake
@@ -131,4 +131,4 @@ install(
install(FILES "${LICENSE_FILE}" "${README_FILE}"
DESTINATION "."
- PERMISSIONS OWNER_READ)
+ )
diff --git a/CMake/utility.cmake b/CMake/utility.cmake
index 9dbc172..c37671e 100644
--- a/CMake/utility.cmake
+++ b/CMake/utility.cmake
@@ -165,7 +165,7 @@ function(loadFolder FOLDER _HEADER_FILES _SOURCE_FILES)
# we don't want to install header files which are marked as private
if (${shouldInstall})
if (NOT ${FULL_HEADER_PATH} MATCHES ".*_p.h$")
- 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()
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index ec10eaf..454c41e 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -127,11 +127,11 @@ add_custom_target(doc ALL
install(DIRECTORY "${DOXYGEN_OUTPUT_DIRECTORY}/${DOXYGEN_CUSTOM_HTML_DIR}"
DESTINATION "${DOXYGEN_DOC_INSTALL_DIR}"
PATTERN "*.*"
- PERMISSIONS OWNER_READ)
+ )
install(FILES "${DOXYGEN_OUTPUT_DIRECTORY}/${DOXYGEN_INDEX_FILE}"
DESTINATION "${DOXYGEN_DOC_INSTALL_DIR}"
- PERMISSIONS OWNER_READ)
+ )
#########################################################################################