Bug 795446 - On Windows there is a blank tip of the day

When the tip_of_the_day.list is created a new line is appended to the
list file and on Windows this causes a blank tip so remove the adding
of the extra line.
This commit is contained in:
Robert Fewell 2018-04-24 15:52:52 +01:00
parent 4e2697b02f
commit dacaa93951

View File

@ -44,8 +44,6 @@ FOREACH(line ${TIP_OF_THE_DAY_LINES})
LIST(APPEND TOTD_OUTPUT "${line3}\n")
ENDFOREACH()
LIST(APPEND TOTD_OUTPUT "\n")
STRING(CONCAT FINAL_TOTD ${TOTD_OUTPUT})
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/tip_of_the_day.list "${FINAL_TOTD}")