summaryrefslogtreecommitdiffstats
path: root/Tests/Complex/VarTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Complex/VarTests.cmake')
-rw-r--r--Tests/Complex/VarTests.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Complex/VarTests.cmake b/Tests/Complex/VarTests.cmake
index 5c444f5..48d04c1 100644
--- a/Tests/Complex/VarTests.cmake
+++ b/Tests/Complex/VarTests.cmake
@@ -102,6 +102,11 @@ FOREACH (INDEX 1 2)
SET(FOREACH_VAR${INDEX} "VALUE${INDEX}")
ENDFOREACH(INDEX)
+SET(FOREACH_CONCAT "")
+FOREACH (INDEX "a;b;c;d;e;f;g")
+ SET(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}")
+ENDFOREACH(INDEX)
+
#
# Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations
#