Browse Source

Tests/IncludeDirectories: Files must end in a newline (#13314)

The HP compiler really really wants source files to end with a newline.
Daniel R. Gomez 13 years ago
parent
commit
cad69215fa
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Tests/IncludeDirectories/TargetIncludeDirectories/CMakeLists.txt

+ 1 - 3
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)