summaryrefslogtreecommitdiffstats
path: root/Tests/CTestUpdateHG.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestUpdateHG.cmake.in')
-rw-r--r--Tests/CTestUpdateHG.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestUpdateHG.cmake.in b/Tests/CTestUpdateHG.cmake.in
index c76bf91..055d309 100644
--- a/Tests/CTestUpdateHG.cmake.in
+++ b/Tests/CTestUpdateHG.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}/@CTestUpdateHG_DIR@")
+string(APPEND TOP "/@CTestUpdateHG_DIR@")
# Include code common to all update tests.
include("@CMAKE_CURRENT_SOURCE_DIR@/CTestUpdateCommon.cmake")