Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
po: cmakelists: added localization-related gettext targets
- Loading branch information
Eugene V. Lyubimkin
committed
May 2, 2012
1 parent
f453e78
commit 7c1f25e
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ project(Cupt) | |
|
||
add_subdirectory(cpp) | ||
add_subdirectory(doc) | ||
add_subdirectory(po) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |