blob: 04cac7b7e31eed20401bdec5ad2a5e004e51bfd7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Ensure installed files carry over the same permissions as the source.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d105e20..0c1bbb57 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -177,6 +177,7 @@ if (NOT HIPIFY_CLANG_TESTS_ONLY)
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin
DESTINATION .
+ USE_SOURCE_PERMISSIONS
PATTERN "hipify-perl"
PATTERN "*.sh"
PATTERN "findcode.sh" EXCLUDE
|