RunMsgfmt.cmake 235 B

12345678910
  1. set(ENV{OLD_PO_FILE_INPUT} yes)
  2. execute_process(
  3. COMMAND ${MSGFMT_PRG} -o ${MO_FILE} ${PO_FILE}
  4. ERROR_VARIABLE err
  5. RESULT_VARIABLE res)
  6. if(NOT res EQUAL 0)
  7. message(FATAL_ERROR "msgfmt failed to run correctly: ${err}")
  8. endif()