summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:25:41 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-08 19:28:52 (GMT)
commit3a7be4f3943e160b1c0c144d914d3dd2ba42819e (patch)
treeaaf3674f3096264656031f80545880a69fa561b4 /Tests/SimpleInstall
parentee9d4feb67f01686c270d3db584dfccaefd14b47 (diff)
downloadCMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.zip
CMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.tar.gz
CMake-3a7be4f3943e160b1c0c144d914d3dd2ba42819e.tar.bz2
prefer list(APPEND) over string(APPEND) where appropriate
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index 5a1392b..4cf7355 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -348,7 +348,7 @@ if(UNIX AND NOT APPLE)
# if(NOT SKIP_TZ)
# message("compress found and it was not a script")
# message("output from file command: [${output}]")
- # string(APPEND CPACK_GENERATOR ";TZ")
+ # list(APPEND CPACK_GENERATOR "TZ")
# else()
# message("compress found, but it was a script so dont use it")
# message("output from file command: [${output}]")
@@ -357,7 +357,7 @@ if(UNIX AND NOT APPLE)
find_program(found_bz2
NAMES bzip2)
if(found_bz2)
- string(APPEND CPACK_GENERATOR ";TBZ2")
+ list(APPEND CPACK_GENERATOR "TBZ2")
endif()
endif()