summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-17 18:56:44 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-07-17 18:56:44 (GMT)
commitadd486e818dea4efb3941a4f8b0e485dd5c28580 (patch)
tree9548cb79e0983b698f5e490a2694ba350265f489 /Tests/StringFileTest/CMakeLists.txt
parent11e212bfc25b5b2168f29b6e60bf5d8cc6e94b58 (diff)
downloadCMake-add486e818dea4efb3941a4f8b0e485dd5c28580.zip
CMake-add486e818dea4efb3941a4f8b0e485dd5c28580.tar.gz
CMake-add486e818dea4efb3941a4f8b0e485dd5c28580.tar.bz2
ENH: Add additional new line after the string to match the change in file command
Diffstat (limited to 'Tests/StringFileTest/CMakeLists.txt')
-rw-r--r--Tests/StringFileTest/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt
index bd404a4..b2a62cb 100644
--- a/Tests/StringFileTest/CMakeLists.txt
+++ b/Tests/StringFileTest/CMakeLists.txt
@@ -37,7 +37,7 @@ FOREACH(var
savar
tuvar
tlvar)
- FILE(APPEND "${file}" "#define ${var} \"${${var}}\"")
+ FILE(APPEND "${file}" "#define ${var} \"${${var}}\"\n")
ENDFOREACH(var)
STRING(REGEX REPLACE "includefile" "${file}" outfile "${infile}")