summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-02 16:57:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-02 16:57:31 (GMT)
commite6caa47fa652d3e24a2c29a72faf82499e324eaa (patch)
tree2f12e48e3ced7c7002c23b5110083c6ab9b78af9
parenta5b4d197695c52c7756faa4d4dcc17b02c9d161f (diff)
parenta293dcb561e3961c1d55f2fc8ccaaf1b4f17204c (diff)
downloadCMake-e6caa47fa652d3e24a2c29a72faf82499e324eaa.zip
CMake-e6caa47fa652d3e24a2c29a72faf82499e324eaa.tar.gz
CMake-e6caa47fa652d3e24a2c29a72faf82499e324eaa.tar.bz2
Merge topic 'fix-test-CMakeELF-read-only-source'
a293dcb5 Tests: Fix CMake.ELF test with read-only source (#15489)
-rw-r--r--Tests/CMakeTests/ELFTest.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/ELFTest.cmake.in b/Tests/CMakeTests/ELFTest.cmake.in
index 0271abb..4635778 100644
--- a/Tests/CMakeTests/ELFTest.cmake.in
+++ b/Tests/CMakeTests/ELFTest.cmake.in
@@ -11,7 +11,7 @@ set(out "@CMAKE_CURRENT_BINARY_DIR@/ELF-Out")
file(REMOVE_RECURSE "${out}")
file(MAKE_DIRECTORY "${out}")
foreach(f ${names})
- file(COPY ${in}/${f} DESTINATION ${out})
+ file(COPY ${in}/${f} DESTINATION ${out} NO_SOURCE_PERMISSIONS)
list(APPEND files "${out}/${f}")
endforeach()