summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--po/CMakeLists.txt4
2 files changed, 5 insertions, 0 deletions
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