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

The HP compiler really really wants source files to end with a newline.
This commit is contained in:
Daniel R. Gomez 2012-06-18 16:16:55 -04:00 committed by Brad King
parent b39924cf22
commit cad69215fa
1 changed files with 1 additions and 3 deletions

View File

@ -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)