summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-25 14:05:07 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-25 14:05:07 (GMT)
commit97c97730a6c93b46295284c5a49d285f57a57121 (patch)
tree606736c91364fdd2f3f7adf1214ee6caec5966e1 /Tests/StringFileTest
parentcba6306b8655d70833d2fd9acd68ce259471b7c8 (diff)
downloadCMake-97c97730a6c93b46295284c5a49d285f57a57121.zip
CMake-97c97730a6c93b46295284c5a49d285f57a57121.tar.gz
CMake-97c97730a6c93b46295284c5a49d285f57a57121.tar.bz2
BUG: Character + should be valid in a variable name.
Diffstat (limited to 'Tests/StringFileTest')
-rw-r--r--Tests/StringFileTest/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt
index c43bd07..3376a38 100644
--- a/Tests/StringFileTest/CMakeLists.txt
+++ b/Tests/StringFileTest/CMakeLists.txt
@@ -83,7 +83,8 @@ ENDIF(NOT FILE_IS_NEWER "${file}" "${CMAKE_CURRENT_SOURCE_DIR}/InputFile.h.in")
# Test configuration of the string
SET(TEST_DEFINED 123)
SET(TEST_NOT_DEFINED)
-STRING(CONFIGURE "${infile}" infile @ONLY)
+STRING(CONFIGURE "${infile}" infile+-/out @ONLY)
+SET(infile "${infile+-/out}")
# Write include file to a file
STRING(REGEX REPLACE "includefile" "${file}" outfile "${infile}")