summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..09d8173
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,63 @@
+# The pofiles macro creates in some versions same name targets
+# which since cmake 2.8 leads to target clashes.
+# Hence force the old policy for all po directories.
+# http://public.kitware.com/Bug/view.php?id=12952
+cmake_policy(SET CMP0002 OLD)
+
+find_package(Gettext REQUIRED)
+if (NOT GETTEXT_MSGMERGE_EXECUTABLE)
+MESSAGE(FATAL_ERROR "Please install msgmerge binary")
+endif (NOT GETTEXT_MSGMERGE_EXECUTABLE)
+if (NOT GETTEXT_MSGFMT_EXECUTABLE)
+MESSAGE(FATAL_ERROR "Please install msgmerge binary")
+endif (NOT GETTEXT_MSGFMT_EXECUTABLE)
+add_subdirectory(zh_TW)
+add_subdirectory(zh_CN)
+add_subdirectory(vi)
+add_subdirectory(uk)
+add_subdirectory(ug)
+add_subdirectory(tr)
+add_subdirectory(th)
+add_subdirectory(sv)
+add_subdirectory(sr@latin)
+add_subdirectory(sr@ijekavianlatin)
+add_subdirectory(sr@ijekavian)
+add_subdirectory(sr)
+add_subdirectory(sl)
+add_subdirectory(sk)
+add_subdirectory(ru)
+add_subdirectory(ro)
+add_subdirectory(pt_BR)
+add_subdirectory(pt)
+add_subdirectory(pl)
+add_subdirectory(pa)
+add_subdirectory(nl)
+add_subdirectory(nds)
+add_subdirectory(nb)
+add_subdirectory(ms)
+add_subdirectory(mr)
+add_subdirectory(mai)
+add_subdirectory(lt)
+add_subdirectory(km)
+add_subdirectory(kk)
+add_subdirectory(ja)
+add_subdirectory(it)
+add_subdirectory(is)
+add_subdirectory(hu)
+add_subdirectory(hr)
+add_subdirectory(gl)
+add_subdirectory(ga)
+add_subdirectory(fr)
+add_subdirectory(fi)
+add_subdirectory(et)
+add_subdirectory(es)
+add_subdirectory(eo)
+add_subdirectory(en_GB)
+add_subdirectory(el)
+add_subdirectory(de)
+add_subdirectory(da)
+add_subdirectory(cs)
+add_subdirectory(ca@valencia)
+add_subdirectory(ca)
+add_subdirectory(bs)
+add_subdirectory(ar)