summaryrefslogtreecommitdiffstats
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2019-06-15 13:43:01 +0200
committergregory guy <[email protected]>2019-06-15 13:43:01 +0200
commit1fec079159ddcc9e9358ea9765f9079c892bfbeb (patch)
tree0705ae2319587d44ff641302dae449d097e859bf /po/CMakeLists.txt
parent53c9fc0f2fb4a85303bd093a0cda0ae6bee38e3b (diff)
downloadkpowersave-1fec079159ddcc9e9358ea9765f9079c892bfbeb.tar.gz
kpowersave-1fec079159ddcc9e9358ea9765f9079c892bfbeb.zip
add doc and translations to cmake
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'po/CMakeLists.txt')
-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( )