3
# Determine if a .po file must be compiled into a .mo or a .qm file
4
file(GLOB po_files *.po)
7
foreach(po_file ${po_files})
8
string(REGEX MATCH "_qt\\.po$" match "${po_file}")
10
set(qm_po_files ${qm_po_files} ${po_file})
12
set(mo_po_files ${mo_po_files} ${po_file})
17
ecm_process_po_files_as_qm(${CURRENT_LANG} ALL
18
INSTALL_DESTINATION ${LOCALE_INSTALL_DIR}
19
PO_FILES ${qm_po_files}
24
gettext_process_po_files(${CURRENT_LANG} ALL
25
INSTALL_DESTINATION ${LOCALE_INSTALL_DIR}
26
PO_FILES ${mo_po_files}