Force using LF endlines while configuring tests
This commit is contained in:
parent
50c441a773
commit
e71295d760
@ -95,7 +95,12 @@ endif()
|
|||||||
file(GLOB data_files "data/*")
|
file(GLOB data_files "data/*")
|
||||||
foreach(data_file ${data_files})
|
foreach(data_file ${data_files})
|
||||||
get_filename_component(filename ${data_file} NAME)
|
get_filename_component(filename ${data_file} NAME)
|
||||||
configure_file(${data_file} ${CMAKE_CURRENT_BINARY_DIR}/data/${filename} @ONLY)
|
configure_file(
|
||||||
|
${data_file}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/data/${filename}
|
||||||
|
@ONLY
|
||||||
|
NEWLINE_STYLE LF
|
||||||
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
configure_file(test_config.h.in test_config.h @ONLY)
|
configure_file(test_config.h.in test_config.h @ONLY)
|
||||||
|
Loading…
Reference in New Issue
Block a user