summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-22 18:12:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-22 18:13:23 +0200
commit00dfcb8e6d7b893ec1edfa757ba07e0d4f1a81c2 (patch)
treec3197d179d436c9a4450487730dd5ae252e20b55 /CMakeLists.txt
parentba54c228db62aaf50efbe74b175870638d0be2ad (diff)
downloadcodeine-00dfcb8e.tar.gz
codeine-00dfcb8e.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 34b18a71c176ff8ec33096da4afcf507dd2b412c)
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 547fb22..8a78980 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( misc )
-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