RunMsgmerge.cmake 317 B

123456789101112
  1. set(ENV{OLD_PO_FILE_INPUT} yes)
  2. set(ENV{OLD_PO_FILE_OUTPUT} yes)
  3. execute_process(
  4. COMMAND ${MSGMERGE_PRG} -q --update --backup=none --sort-by-file
  5. ${PO_FILE} ${POT_FILE}
  6. ERROR_VARIABLE err
  7. RESULT_VARIABLE res)
  8. if(NOT res EQUAL 0)
  9. message(FATAL_ERROR "msgmerge failed to run correctly: ${err}")
  10. endif()