From da339701474848499dafa41eaaa1a79be5f1de46 Mon Sep 17 00:00:00 2001 From: Bernd Wachter Date: Wed, 8 Apr 2009 04:05:00 +0200 Subject: Added support for locales --- CMakeLists.txt | 1 + po/CMakeLists.txt | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 po/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cefa798..2264e812 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,5 +21,6 @@ ENDIF (WIN32) ADD_SUBDIRECTORY(data) ADD_SUBDIRECTORY(src) +ADD_SUBDIRECTORY(po) INSTALL(FILES tmw.desktop DESTINATION share/applications) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100644 index 00000000..1c634a89 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,4 @@ +FIND_PACKAGE(Gettext REQUIRED) + +FILE(GLOB POFILES *.po) +GETTEXT_CREATE_TRANSLATIONS(tmw.pot ${POFILES}) \ No newline at end of file -- cgit v1.2.3-70-g09d2