diff options
author | Slávek Banko <[email protected]> | 2018-12-11 17:50:36 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-12-11 17:50:50 +0100 |
commit | 3a8a879ebc4f00d08522665d9f4afb40ad9ca363 (patch) | |
tree | 84665e73004ea126a495afef531dd6fd36412cb9 /CMakeLists.txt | |
parent | 9d8c20e16779c1434701dfe93ac975585a20cf88 (diff) | |
download | kvkbd-3a8a879ebc4f00d08522665d9f4afb40ad9ca363.tar.gz kvkbd-3a8a879ebc4f00d08522665d9f4afb40ad9ca363.zip |
Add CMakeL10n rules.
Create translation template.
Add CMake rules to build translations.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 623026caa857e5cdcf316ec51403282f29ed1879)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 04e4083..64ae49e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" option( BUILD_ALL "Build all" ON ) option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) +option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) ##### configure checks @@ -68,6 +69,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) add_subdirectory( src ) tde_conditional_add_subdirectory( BUILD_DOC doc ) +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) ##### write configure files |