Add the Content-Transfer-Encoding line to the pot header so it gets added every time

This commit is contained in:
David Sansome 2011-10-30 12:24:03 +00:00
parent d6e480f911
commit 3395078a90
2 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,7 @@ macro(add_pot outfiles header pot)
--output=${CMAKE_CURRENT_BINARY_DIR}/pot.temp
${ARGN}
COMMAND cat ${header} ${CMAKE_CURRENT_BINARY_DIR}/pot.temp > ${pot}
DEPENDS ${ARGN}
DEPENDS ${ARGN} ${header}
)
list(APPEND ${outfiles} ${pot})

View File

@ -7,4 +7,5 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"