Hi, configure_file with NEWLINE_STYLE appends a newline to the end of the file (even if there is none in the original file, check cmMakeFile.cxx line 3521)... -- Domagoj Saric Software Architect www.LittleEndian.com