summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-19 18:43:34 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-06-19 18:43:34 (GMT)
commit525813a69810cc35c827323eb3fde86d1339582c (patch)
treefb2a48d0366ea7f9a4255393e044bf892dbbaeff /Tests
parent3f8c9073f9a335b76a72d71c0c1f53415d9a731b (diff)
parentcad69215fa68b36d472515b7b132bc705e6cd8ea (diff)
downloadCMake-525813a69810cc35c827323eb3fde86d1339582c.zip
CMake-525813a69810cc35c827323eb3fde86d1339582c.tar.gz
CMake-525813a69810cc35c827323eb3fde86d1339582c.tar.bz2
Merge topic 'test-IncludeDirectories-eof'
cad6921 Tests/IncludeDirectories: Files must end in a newline (#13314)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt
index 2cf36f5..334b8be 100644
--- a/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt
+++ b/Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt
@@ -5,9 +5,7 @@ project(TargetIncludeDirectories)
macro(create_header _name)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${_name}")
- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${_name}/${_name}.h"
- "//${_name}.h
- ")
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${_name}/${_name}.h" "//${_name}.h\n")
endmacro()
create_header(bar)