summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-30 22:42:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-30 22:43:16 +0200
commit5f4e114e4cd6596aaf59807eb285054f08005b12 (patch)
treef1de7aafacab13bbe2c0176725acad29175c75dd /CMakeLists.txt
parent8ddb1f99e30594ff520bc351317bdbe9a3b497a9 (diff)
downloadknutclient-5f4e114e.tar.gz
knutclient-5f4e114e.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b001af8984211b0d8f914c4093f483e8845d9316)
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 ebbfd96..ec88a7f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,8 +70,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( pics )
-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