diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-13 03:29:22 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-13 03:29:22 +0100 |
commit | ce24f7e8bee0d70bdebe4e979eaefdb56c1b3ebb (patch) | |
tree | 421b0b966dcd7e3053adca7d4ab928dd35a19081 /CMakeLists.txt | |
parent | 5f932cd68a27c5feccc861a243984e653348b08e (diff) | |
download | tdeio-umountwrapper-ce24f7e8bee0d70bdebe4e979eaefdb56c1b3ebb.tar.gz tdeio-umountwrapper-ce24f7e8bee0d70bdebe4e979eaefdb56c1b3ebb.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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ce2680..d7b4f12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ##### user requested modules option( BUILD_ALL "Build all" ON ) +option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) ##### configure checks @@ -65,6 +66,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) ##### directories tde_conditional_add_subdirectory( BUILD_ALL src ) +tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) ##### write configure files |