summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/continue/ContinueWhile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/continue/ContinueWhile.cmake')
-rw-r--r--Tests/RunCMake/continue/ContinueWhile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/continue/ContinueWhile.cmake b/Tests/RunCMake/continue/ContinueWhile.cmake
index c1fa87a..f69993c 100644
--- a/Tests/RunCMake/continue/ContinueWhile.cmake
+++ b/Tests/RunCMake/continue/ContinueWhile.cmake
@@ -1,7 +1,7 @@
message(STATUS "start")
unset(iter)
while(NOT "${iter}" STREQUAL "aaaaa")
- set(iter "${iter}a")
+ string(APPEND iter "a")
if("${iter}" STREQUAL "aaa")
continue()
endif()