Codebase list fcitx-unikey / 44c55098-71a0-40b0-b6c0-558b895e0c09/upstream po / CMakeLists.txt
44c55098-71a0-40b0-b6c0-558b895e0c09/upstream

Tree @44c55098-71a0-40b0-b6c0-558b895e0c09/upstream (Download .tar.gz)

CMakeLists.txt @44c55098-71a0-40b0-b6c0-558b895e0c09/upstreamraw · history · blame

1
2
3
4
5
6
7
file(GLOB PO_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.po)

foreach(po_file ${PO_FILES})
  string(REPLACE ".po" "" po_lang "${po_file}")
  fcitx_translate_add_po_file("${po_lang}" "${po_file}")
endforeach()
fcitx_translate_set_pot_target(pot fcitx-unikey fcitx-unikey.pot)