summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstallS2
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-07-27 22:43:04 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-07-27 22:43:04 (GMT)
commit7a649111cdea2b10f2ec57084416be619867fbfb (patch)
tree072e1343376835ba4dda7689db02dc51598e005b /Tests/SimpleInstallS2
parent5d0d980d9949daf596e10715d686adc95c1c232b (diff)
downloadCMake-7a649111cdea2b10f2ec57084416be619867fbfb.zip
CMake-7a649111cdea2b10f2ec57084416be619867fbfb.tar.gz
CMake-7a649111cdea2b10f2ec57084416be619867fbfb.tar.bz2
Use string(APPEND) in Tests
Automate with: find Tests -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
Diffstat (limited to 'Tests/SimpleInstallS2')
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt
index aee92f6..5a1392b 100644
--- a/Tests/SimpleInstallS2/CMakeLists.txt
+++ b/Tests/SimpleInstallS2/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}]")
- # set(CPACK_GENERATOR "${CPACK_GENERATOR};TZ")
+ # string(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)
- set(CPACK_GENERATOR "${CPACK_GENERATOR};TBZ2")
+ string(APPEND CPACK_GENERATOR ";TBZ2")
endif()
endif()