summaryrefslogtreecommitdiff
path: root/indra/cmake/CMakeCopyIfDifferent.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/CMakeCopyIfDifferent.cmake')
-rw-r--r--indra/cmake/CMakeCopyIfDifferent.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/CMakeCopyIfDifferent.cmake b/indra/cmake/CMakeCopyIfDifferent.cmake
index abbd1d0653..55e71ff153 100644
--- a/indra/cmake/CMakeCopyIfDifferent.cmake
+++ b/indra/cmake/CMakeCopyIfDifferent.cmake
@@ -35,7 +35,7 @@ FOREACH(SRC ${ARGN})
DEPENDS ${FROM}
COMMENT "Copying ${SRCFILE} ${TO_DIR}"
)
- SET(AddTargets ${AddTargets} ${TARGET})
+ SET(AddTargets ${AddTargets} ${TO})
ENDFOREACH(SRC ${ARGN})
SET(${TARGETS} ${AddTargets})
ENDMACRO(COPY_IF_DIFFERENT FROM_DIR TO_DIR TARGETS)