Skip to content

Commit

Permalink
po: cmakelists: added localization-related gettext targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene V. Lyubimkin committed May 2, 2012
1 parent f453e78 commit 7c1f25e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -3,4 +3,5 @@ project(Cupt)

add_subdirectory(cpp)
add_subdirectory(doc)
add_subdirectory(po)

7 changes: 7 additions & 0 deletions po/CMakeLists.txt
@@ -0,0 +1,7 @@
include(FindGettext)

FOREACH(lang pl)
GETTEXT_PROCESS_PO_FILES(${lang} ALL
INSTALL_DESTINATION ${CMAKE_INSTALL_PREFIX}/share/locale/
PO_FILES ${lang}.po)
ENDFOREACH(lang)

0 comments on commit 7c1f25e

Please sign in to comment.