diff options
Diffstat (limited to 'Tests/RunCMake/file-CHMOD/override.cmake')
-rw-r--r-- | Tests/RunCMake/file-CHMOD/override.cmake | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Tests/RunCMake/file-CHMOD/override.cmake b/Tests/RunCMake/file-CHMOD/override.cmake index d9226b8..67e5a23 100644 --- a/Tests/RunCMake/file-CHMOD/override.cmake +++ b/Tests/RunCMake/file-CHMOD/override.cmake @@ -1,6 +1,3 @@ -file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests) -file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests) - -file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a) -file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/chmod-tests/a PERMISSIONS OWNER_READ +file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/a) +file(CHMOD ${CMAKE_CURRENT_BINARY_DIR}/a PERMISSIONS OWNER_READ FILE_PERMISSIONS OWNER_READ OWNER_WRITE) |