diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 1cfd7fee50..49227de7d8 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -142,7 +142,7 @@ else() if(DEFINED ASSEMBLY_SOURCE) if(EXISTS ${ASSEMBLY_SOURCE}) message("Copying platform assembly files from ${ASSEMBLY_SOURCE} to ${CMAKE_CURRENT_BINARY_DIR}") - file(COPY ${ASSEMBLY_SOURCE}/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) + file(COPY ${ASSEMBLY_SOURCE}/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} NO_SOURCE_PERMISSIONS) else() message(STATUS "${ASSEMBLY_SOURCE} assembly files do not exist.") endif()