summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-26 02:12:24 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-26 02:12:24 +0100
commit05a436ed6996f045f78dd2007822cb18ebff4286 (patch)
tree368425a37a6f61302806f91393dd4d505ab446b4 /po/CMakeLists.txt
parent81526cafd5e61d28671a60ca454b3ec6ad08d71c (diff)
downloadtdeio-ftps-05a436ed6996f045f78dd2007822cb18ebff4286.tar.gz
tdeio-ftps-05a436ed6996f045f78dd2007822cb18ebff4286.zip
Add CMakeL10n rules.
Create translation template. Add CMake rules to build translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..46fba83
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,6 @@
+# build translations if some are already available
+
+file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+if( _srcs )
+ tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
+endif( )