From 1b68f71348ecf3983b76b40d7940da8377f049b7 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Mon, 29 Apr 2024 07:43:28 +0300 Subject: #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed --- indra/cmake/CMakeCopyIfDifferent.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'indra/cmake/CMakeCopyIfDifferent.cmake') diff --git a/indra/cmake/CMakeCopyIfDifferent.cmake b/indra/cmake/CMakeCopyIfDifferent.cmake index 55e71ff153..fe6806e38b 100644 --- a/indra/cmake/CMakeCopyIfDifferent.cmake +++ b/indra/cmake/CMakeCopyIfDifferent.cmake @@ -10,20 +10,20 @@ MACRO(COPY_IF_DIFFERENT FROM_DIR TO_DIR TARGETS) # Macro to implement copy_if_different for a list of files -# Arguments - +# Arguments - # FROM_DIR - this is the source directory # TO_DIR - this is the destination directory # TARGETS - A variable to receive a list of targets -# FILES - names of the files to copy -# TODO: add globing. +# FILES - names of the files to copy +# TODO: add globing. SET(AddTargets "") FOREACH(SRC ${ARGN}) - GET_FILENAME_COMPONENT(SRCFILE ${SRC} NAME) + GET_FILENAME_COMPONENT(SRCFILE ${SRC} NAME) IF("${FROM_DIR}" STREQUAL "") SET(FROM ${SRC}) ELSE("${FROM_DIR}" STREQUAL "") SET(FROM ${FROM_DIR}/${SRC}) - ENDIF("${FROM_DIR}" STREQUAL "") + ENDIF("${FROM_DIR}" STREQUAL "") IF("${TO_DIR}" STREQUAL "") SET(TO ${SRCFILE}) ELSE("${TO_DIR}" STREQUAL "") -- cgit v1.2.3