summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-10 19:33:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-10 20:17:51 +0100
commit9ff0bfc84d41af3f0ecfafd789e2f7ebd0a23df7 (patch)
tree3765567a9183f76c2f755ec2110f8d88aad77b62 /CMakeLists.txt
parent667222c4d4b53800adf94734c11ac3ea081d6212 (diff)
downloadkpicosim-9ff0bfc84d41af3f0ecfafd789e2f7ebd0a23df7.tar.gz
kpicosim-9ff0bfc84d41af3f0ecfafd789e2f7ebd0a23df7.zip
Add CMakeL10n rules.
Create translation template. Add CMake rules to build translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit fdd508d2999441099da89dddedd98bde036e82a7)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee3b515..5cb9866 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