diff options
author | Roxanne Skelly <roxie@lindenlab.com> | 2024-05-20 14:36:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 14:36:14 -0700 |
commit | a1d7d2abc304b59fbca26f0ca23c926762be10a1 (patch) | |
tree | fcb3901b838af753e40c2ddd1ce84b95a6c2f603 /indra/cmake/CMakeCopyIfDifferent.cmake | |
parent | f51797f088808029745161854aa86b775f041a64 (diff) | |
parent | 3a212d9608492ae64a3a32f80790371b90be9e9e (diff) |
Merge pull request #1532 from secondlife/roxie/webrtc-voice
[WebRTC] Merge from main
Diffstat (limited to 'indra/cmake/CMakeCopyIfDifferent.cmake')
-rw-r--r-- | indra/cmake/CMakeCopyIfDifferent.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
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 "") |