summaryrefslogtreecommitdiffstats
path: root/Tests/IncludeDirectories
diff options
context:
space:
mode:
authorDaniel R. Gomez <gomez@teragram.com>2012-06-18 20:16:55 (GMT)
committerBrad King <brad.king@kitware.com>2012-06-18 20:16:55 (GMT)
commitcad69215fa68b36d472515b7b132bc705e6cd8ea (patch)
tree91865b2a1a86ddfc2aefd4a23a0565d6b4ce5f72 /Tests/IncludeDirectories
parentb39924cf222e0c2e958a780dfe77ca60592d2afd (diff)
downloadCMake-cad69215fa68b36d472515b7b132bc705e6cd8ea.zip
CMake-cad69215fa68b36d472515b7b132bc705e6cd8ea.tar.gz
CMake-cad69215fa68b36d472515b7b132bc705e6cd8ea.tar.bz2
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')
-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)