Merge topic 'fix-test-CMakeELF-read-only-source'
a293dcb5 Tests: Fix CMake.ELF test with read-only source (#15489)
This commit is contained in:
commit
e6caa47fa6
@ -11,7 +11,7 @@ set(out "@CMAKE_CURRENT_BINARY_DIR@/ELF-Out")
|
|||||||
file(REMOVE_RECURSE "${out}")
|
file(REMOVE_RECURSE "${out}")
|
||||||
file(MAKE_DIRECTORY "${out}")
|
file(MAKE_DIRECTORY "${out}")
|
||||||
foreach(f ${names})
|
foreach(f ${names})
|
||||||
file(COPY ${in}/${f} DESTINATION ${out})
|
file(COPY ${in}/${f} DESTINATION ${out} NO_SOURCE_PERMISSIONS)
|
||||||
list(APPEND files "${out}/${f}")
|
list(APPEND files "${out}/${f}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user