summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file-CHMOD/override.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file-CHMOD/override.cmake')
-rw-r--r--Tests/RunCMake/file-CHMOD/override.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/file-CHMOD/override.cmake b/Tests/RunCMake/file-CHMOD/override.cmake
new file mode 100644
index 0000000..67e5a23
--- /dev/null
+++ b/Tests/RunCMake/file-CHMOD/override.cmake
@@ -0,0 +1,3 @@
+file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/a)
+file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/a PERMISSIONS OWNER_READ
+ FILE_PERMISSIONS OWNER_READ OWNER_WRITE)