diff --git a/BAN/CMakeLists.txt b/BAN/CMakeLists.txt index 4c3c0339a6..f48b539396 100644 --- a/BAN/CMakeLists.txt +++ b/BAN/CMakeLists.txt @@ -10,7 +10,7 @@ set(BAN_SOURCES ) add_custom_target(ban-headers - COMMAND sudo rsync -r ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ + COMMAND sudo rsync -a ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ DEPENDS sysroot USES_TERMINAL ) diff --git a/LibELF/CMakeLists.txt b/LibELF/CMakeLists.txt index f0a3e8cec1..570061140d 100644 --- a/LibELF/CMakeLists.txt +++ b/LibELF/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.26) project(LibELF CXX) add_custom_target(libelf-headers - COMMAND sudo rsync -r ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ + COMMAND sudo rsync -a ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ DEPENDS sysroot USES_TERMINAL ) diff --git a/kernel/CMakeLists.txt b/kernel/CMakeLists.txt index fa9c1920b2..4e1823a117 100644 --- a/kernel/CMakeLists.txt +++ b/kernel/CMakeLists.txt @@ -155,7 +155,7 @@ add_custom_command( ) add_custom_target(kernel-headers - COMMAND sudo rsync -r ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ + COMMAND sudo rsync -a ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ DEPENDS sysroot USES_TERMINAL ) diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt index 9ab9c1bd73..c7d32bf8d3 100644 --- a/libc/CMakeLists.txt +++ b/libc/CMakeLists.txt @@ -23,7 +23,7 @@ set(LIBC_SOURCES ) add_custom_target(libc-headers - COMMAND sudo rsync -r ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ + COMMAND sudo rsync -a ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/ DEPENDS sysroot USES_TERMINAL )