cmake.backbone/GettextLangRules.cmake

4 lines
189 B
CMake
Raw Normal View History

2015-10-19 18:27:24 +03:00
FILE (GLOB _po_files *.po)
GET_FILENAME_COMPONENT (LANG "${CMAKE_CURRENT_SOURCE_DIR}" NAME)
GETTEXT_PROCESS_PO_FILES ("${LANG}" ALL INSTALL_DESTINATION ${LOCALEDIR} PO_FILES ${_po_files} )