From 97c97730a6c93b46295284c5a49d285f57a57121 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 25 Sep 2006 10:05:07 -0400 Subject: BUG: Character + should be valid in a variable name. --- Tests/StringFileTest/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Tests/StringFileTest') diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt index c43bd07f67..3376a38663 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}") -- cgit v1.2.1