summaryrefslogtreecommitdiff
path: root/Tests/Complex/VarTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Complex/VarTests.cmake')
-rw-r--r--Tests/Complex/VarTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Complex/VarTests.cmake b/Tests/Complex/VarTests.cmake
index 70b803a1e5..9d35949af0 100644
--- a/Tests/Complex/VarTests.cmake
+++ b/Tests/Complex/VarTests.cmake
@@ -180,5 +180,5 @@ endforeach()
set(FOREACH_CONCAT "")
foreach (INDEX a;b;c;d;e;f;g)
- set(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}")
+ string(APPEND FOREACH_CONCAT "${INDEX}")
endforeach()