summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-06-15 13:43:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-15 16:51:23 +0200
commit70365ebedff4fe76b58533d3c476eaea56ee52b1 (patch)
tree34561343c42e2f883e13f504d6afed15bf7aaf2a /po
parentaf8a0ccf990903b851895980bc5d02aad46353db (diff)
downloadkpowersave-70365ebedff4fe76b58533d3c476eaea56ee52b1.tar.gz
kpowersave-70365ebedff4fe76b58533d3c476eaea56ee52b1.zip
add doc and translations to cmake
Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit 1fec079159ddcc9e9358ea9765f9079c892bfbeb)
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
new file mode 100644
index 0000000..ad36a01
--- /dev/null
+++ b/po/CMakeLists.txt
@@ -0,0 +1,5 @@
+file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
+
+if( _srcs )
+ tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
+endif( )