configure_file adds unwanted newline to output
file(WRITE a "foo")
configure_file(a ${CMAKE_CURRENT_SOURCE_DIR}/b)
$ cmake --version
cmake version 3.24.2
$ od -a a
0000000 f o o
0000003
$ od -a b
0000000 f o o nl
0000004
my source file doesn't contain a newline, why does the output?