diff options
author | Slávek Banko <[email protected]> | 2018-12-11 18:11:12 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-12-11 18:11:23 +0100 |
commit | 376d0a24d69342e87b3ecd053493254ba2f62d70 (patch) | |
tree | 1a0722160fe9e471d948acaeec3b7398a3ff1683 /po/CMakeLists.txt | |
parent | 7f6429ed13fb1d986768341a05b91133a97d2390 (diff) | |
download | kcmautostart-376d0a24d69342e87b3ecd053493254ba2f62d70.tar.gz kcmautostart-376d0a24d69342e87b3ecd053493254ba2f62d70.zip |
Add CMakeL10n rules.
Update translation template.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 07f530c60508836ef837aece0415ac89b66fdf53)
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r-- | po/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 2686f83..d1f5c7c 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1 +1,6 @@ -tde_create_translation( LANG auto OUTPUT_NAME autostart ) +# 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 autostart ) +endif( ) |