summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/WhileTest.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeTests/WhileTest.cmake.in')
-rw-r--r--Tests/CMakeTests/WhileTest.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CMakeTests/WhileTest.cmake.in b/Tests/CMakeTests/WhileTest.cmake.in
index cc22978..9066544 100644
--- a/Tests/CMakeTests/WhileTest.cmake.in
+++ b/Tests/CMakeTests/WhileTest.cmake.in
@@ -2,13 +2,13 @@ set(NUMBERS "")
set(COUNT 0)
while(COUNT LESS 200)
- set(NUMBERS "${NUMBERS} ${COUNT}")
+ string(APPEND NUMBERS " ${COUNT}")
set(COUNT "2${COUNT}")
set(NCOUNT 3)
while(NCOUNT LESS 31)
- set(NUMBERS "${NUMBERS} ${NCOUNT}")
- set(NCOUNT "${NCOUNT}0")
+ string(APPEND NUMBERS " ${NCOUNT}")
+ string(APPEND NCOUNT "0")
endwhile()
endwhile()