summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-26 16:52:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-26 16:52:57 +0200
commit7bc8fd3a3f20e55228c9beb08cde43d8a111851f (patch)
tree8acd14e1cbbbd51e8873b895106aaf4e3c837967 /CMakeLists.txt
parent2e35d966a3405c73b0fbdb1d5aa0ae03c811af51 (diff)
downloadkcmautostart-7bc8fd3a.tar.gz
kcmautostart-7bc8fd3a.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 99621e5d979d4ac4afd98af76507f5db48761135)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b52d64a..fb1cad6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,10 +69,13 @@ 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