summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/VerifyResult.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-01 18:59:50 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-01 18:59:50 (GMT)
commit88e1c54a7cd3213d87143558a8fddf39e7fdccc0 (patch)
tree3bb05b4e935ab00aa445129a073a6ff9321467af /Tests/RunCMake/CPack/VerifyResult.cmake
parentbfac78d07479eb652405ee51548c4011766666ce (diff)
parent7a649111cdea2b10f2ec57084416be619867fbfb (diff)
downloadCMake-88e1c54a7cd3213d87143558a8fddf39e7fdccc0.zip
CMake-88e1c54a7cd3213d87143558a8fddf39e7fdccc0.tar.gz
CMake-88e1c54a7cd3213d87143558a8fddf39e7fdccc0.tar.bz2
Merge topic 'use-string-append'
7a649111 Use string(APPEND) in Tests 5d0d980d Use string(APPEND) in Modules
Diffstat (limited to 'Tests/RunCMake/CPack/VerifyResult.cmake')
-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 6eab531..8047668 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_}}")
- set(foundFiles_ "${foundFiles_};${FOUND_FILE_${file_no_}}")
+ string(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_}")
- set(allFoundFiles_ "${allFoundFiles_};${foundAll_}")
+ string(APPEND allFoundFiles_ ";${foundAll_}")
endforeach()
list(LENGTH foundFiles_ foundFilesCount_)