summaryrefslogtreecommitdiff
path: root/Tests/CTestUpdateGIT.cmake.in
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-07-28 00:43:04 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-07-28 00:43:04 +0200
commit7a649111cdea2b10f2ec57084416be619867fbfb (patch)
tree072e1343376835ba4dda7689db02dc51598e005b /Tests/CTestUpdateGIT.cmake.in
parent5d0d980d9949daf596e10715d686adc95c1c232b (diff)
downloadcmake-7a649111cdea2b10f2ec57084416be619867fbfb.tar.gz
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/CTestUpdateGIT.cmake.in')
-rw-r--r--Tests/CTestUpdateGIT.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestUpdateGIT.cmake.in b/Tests/CTestUpdateGIT.cmake.in
index 46230cca34..7d0fa0fab3 100644
--- a/Tests/CTestUpdateGIT.cmake.in
+++ b/Tests/CTestUpdateGIT.cmake.in
@@ -4,7 +4,7 @@
#-----------------------------------------------------------------------------
# Test in a directory next to this script.
get_filename_component(TOP "${CMAKE_CURRENT_LIST_FILE}" PATH)
-set(TOP "${TOP}/@CTestUpdateGIT_DIR@")
+string(APPEND TOP "/@CTestUpdateGIT_DIR@")
set(UPDATE_EXTRA Updated{module})
# Include code common to all update tests.