summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-30 22:38:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-30 22:39:13 +0200
commit814c022fffc7c5d1ca0a9b0c82cf5a5a55ecba81 (patch)
tree1151027f883f27704cde012234ecffe4b09dc982 /CMakeLists.txt
parentdd51e767ef2f82a99975871d02ed095fcf40a8db (diff)
downloadkcpuload-083b4f82752880ea5e5b0fe1b8d6ebadb131a9cd.tar.gz
kcpuload-083b4f82752880ea5e5b0fe1b8d6ebadb131a9cd.zip
Use common rules for build and install documentation and translations.r14.0.11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit cb4fbc20f5cd89367cd99d8a9116a09f001ba9c6)
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 c2ea8ec..d66aab3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,8 +69,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( src )
add_subdirectory( icons )
-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