Permalink
Browse files

po: cmakelists: added localization-related gettext targets

  • Loading branch information...
1 parent f453e78 commit 7c1f25e5752a6139b29c65f60e1818e8cdebcb00 @jackyf committed May 2, 2012
Showing with 8 additions and 0 deletions.
  1. +1 −0 CMakeLists.txt
  2. +7 −0 po/CMakeLists.txt
View
1 CMakeLists.txt
@@ -3,4 +3,5 @@ project(Cupt)
add_subdirectory(cpp)
add_subdirectory(doc)
+add_subdirectory(po)
View
7 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.