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.
pull/343/head
Robert Fewell 8 years ago
parent 4e2697b02f
commit dacaa93951

@ -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}")

Loading…
Cancel
Save