summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-18 22:51:04 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-18 22:51:04 +0100
commite71295d7606a8fba95639051246b3c238148d0e2 (patch)
tree15b8d5fb3f84841d670184bd080338f5a9771eba /tests
parent50c441a7735bc7910db345c846adccc049d89170 (diff)
downloadMultiMC-e71295d7606a8fba95639051246b3c238148d0e2.tar
MultiMC-e71295d7606a8fba95639051246b3c238148d0e2.tar.gz
MultiMC-e71295d7606a8fba95639051246b3c238148d0e2.tar.lz
MultiMC-e71295d7606a8fba95639051246b3c238148d0e2.tar.xz
MultiMC-e71295d7606a8fba95639051246b3c238148d0e2.zip
Force using LF endlines while configuring tests
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cc7d1a11..7aeae59f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -95,7 +95,12 @@ endif()
file(GLOB data_files "data/*")
foreach(data_file ${data_files})
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()
configure_file(test_config.h.in test_config.h @ONLY)