[cmake] savedefconfig.cmake: fix EOL changes to defconfig files on Windows
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: ../../boards/arm/stm32/nucleo-l152re/configs/nsh/defconfig
no changes added to commit (use "git add" and/or "git commit -a")
This commit is contained in:
parent
a095b1d6a6
commit
4050c79505
1 changed files with 3 additions and 0 deletions
|
|
@ -71,4 +71,7 @@ foreach(LINE IN LISTS LINES)
|
|||
file(APPEND ${OUTPUT_FILE} "${LINE}\n")
|
||||
endforeach()
|
||||
|
||||
# Converts the newline style for the output file.
|
||||
configure_file(${OUTPUT_FILE} ${OUTPUT_FILE} @ONLY NEWLINE_STYLE LF)
|
||||
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E remove ${TARGET_FILE})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue