summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-09 13:20:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-09 13:20:21 (GMT)
commit4689d16e8aa90e57a8456357251b6575131529d7 (patch)
tree193a8478bdc660f5b3e17f10f0c0f2a0ead07e7e /Tests/RunCMake
parenta5b73e719a744a75be6ccf149360b14aaebbb273 (diff)
parent551b4c90626357ee9b6048e89c7406f3b4063fbb (diff)
downloadCMake-4689d16e8aa90e57a8456357251b6575131529d7.zip
CMake-4689d16e8aa90e57a8456357251b6575131529d7.tar.gz
CMake-4689d16e8aa90e57a8456357251b6575131529d7.tar.bz2
Merge topic 'fix-string-append'
551b4c90 Revert the use of string(APPEND) in .cmake.in files 3a7be4f3 prefer list(APPEND) over string(APPEND) where appropriate
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CPack/VerifyResult.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CPack/VerifyResult.cmake b/Tests/RunCMake/CPack/VerifyResult.cmake
index 8047668..074890f 100644
--- a/Tests/RunCMake/CPack/VerifyResult.cmake
+++ b/Tests/RunCMake/CPack/VerifyResult.cmake
@@ -16,7 +16,7 @@ include("${src_dir}/${GENERATOR_TYPE}/${RunCMake_TEST}-ExpectedFiles.cmake")
if(NOT EXPECTED_FILES_COUNT EQUAL 0)
foreach(file_no_ RANGE 1 ${EXPECTED_FILES_COUNT})
file(GLOB FOUND_FILE_${file_no_} RELATIVE "${bin_dir}" "${EXPECTED_FILE_${file_no_}}")
- string(APPEND foundFiles_ ";${FOUND_FILE_${file_no_}}")
+ list(APPEND foundFiles_ "${FOUND_FILE_${file_no_}}")
list(LENGTH FOUND_FILE_${file_no_} foundFilesCount_)
if(foundFilesCount_ EQUAL 1)
@@ -45,7 +45,7 @@ if(NOT EXPECTED_FILES_COUNT EQUAL 0)
# check that there were no extra files generated
foreach(all_files_glob_ IN LISTS ALL_FILES_GLOB)
file(GLOB foundAll_ RELATIVE "${bin_dir}" "${all_files_glob_}")
- string(APPEND allFoundFiles_ ";${foundAll_}")
+ list(APPEND allFoundFiles_ "${foundAll_}")
endforeach()
list(LENGTH foundFiles_ foundFilesCount_)