summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-26 17:27:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-26 17:27:41 +0200
commit6c7aa4829d4772c14483db99c8bb563e68f0178c (patch)
tree1e371930c63a64b38078623fd4e86e9990111458 /CMakeLists.txt
parentf519fe9ea297487d95da992a0a77a2ed3aad2cb0 (diff)
downloadkvkbd-master.tar.gz
kvkbd-master.zip
Use common rules for build and install documentation and translations.HEADmaster
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a82ca3b..f5933fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,8 +69,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### directories
add_subdirectory( src )
-tde_conditional_add_subdirectory( BUILD_DOC doc )
-tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
+
+
+##### other data ################################
+
+tde_conditional_add_project_docs( BUILD_DOC )
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files