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:
parent
b39924cf22
commit
cad69215fa
|
@ -5,9 +5,7 @@ project(TargetIncludeDirectories)
|
||||||
|
|
||||||
macro(create_header _name)
|
macro(create_header _name)
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${_name}")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${_name}")
|
||||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${_name}/${_name}.h"
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${_name}/${_name}.h" "//${_name}.h\n")
|
||||||
"//${_name}.h
|
|
||||||
")
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
create_header(bar)
|
create_header(bar)
|
||||||
|
|
Loading…
Reference in New Issue