mirror of
https://github.com/vgough/encfs.git
synced 2025-06-20 11:47:58 +02:00
add po file compilation
This commit is contained in:
parent
2ec85a6638
commit
0fc7bbe992
@ -145,3 +145,14 @@ endif (POD2MAN)
|
|||||||
|
|
||||||
install (TARGETS encfs DESTINATION bin)
|
install (TARGETS encfs DESTINATION bin)
|
||||||
install (FILES ${CMAKE_SOURCE_DIR}/encfs/encssh DESTINATION bin)
|
install (FILES ${CMAKE_SOURCE_DIR}/encfs/encssh DESTINATION bin)
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
if (GETTEXT_FOUND)
|
||||||
|
file(GLOB po_files "po/*.po")
|
||||||
|
foreach(pofile ${po_files})
|
||||||
|
get_filename_component(lang ${pofile} NAME_WE)
|
||||||
|
#message("-- Found gettext PO file for ${lang}: ${pofile}")
|
||||||
|
|
||||||
|
gettext_process_po_files(${lang} ALL PO_FILES ${pofile})
|
||||||
|
endforeach()
|
||||||
|
endif (GETTEXT_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user