summaryrefslogtreecommitdiff
path: root/Tests/IncludeDirectories/TargetIncludeDirectories
diff options
context:
space:
mode:
authorDaniel R. Gomez <gomez@teragram.com>2012-06-18 16:16:55 -0400
committerBrad King <brad.king@kitware.com>2012-06-18 16:16:55 -0400
commitcad69215fa68b36d472515b7b132bc705e6cd8ea (patch)
tree91865b2a1a86ddfc2aefd4a23a0565d6b4ce5f72 /Tests/IncludeDirectories/TargetIncludeDirectories
parentb39924cf222e0c2e958a780dfe77ca60592d2afd (diff)
downloadcmake-cad69215fa68b36d472515b7b132bc705e6cd8ea.tar.gz
Tests/IncludeDirectories: Files must end in a newline (#13314)
The HP compiler really really wants source files to end with a newline.
Diffstat (limited to 'Tests/IncludeDirectories/TargetIncludeDirectories')
-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 2cf36f5131..334b8be62c 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)