summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/if/IsDirectoryLong.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/if/IsDirectoryLong.cmake')
-rw-r--r--Tests/RunCMake/if/IsDirectoryLong.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/if/IsDirectoryLong.cmake b/Tests/RunCMake/if/IsDirectoryLong.cmake
index 0e93be7..e6939ac 100644
--- a/Tests/RunCMake/if/IsDirectoryLong.cmake
+++ b/Tests/RunCMake/if/IsDirectoryLong.cmake
@@ -1,6 +1,6 @@
set(d "/long/path/to/directory")
foreach(i RANGE 11)
- set(d "${d}${d}")
+ string(APPEND d "${d}")
endforeach()
string(LENGTH "${d}" dl)
if(IS_DIRECTORY "${d}/")