summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-18 21:05:14 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-20 12:17:26 +0200
commit080f0e155d0e814dc1ba59f3594d154f2c390d31 (patch)
tree7836f2bdfc3e1a277d78fbb4a7a040c4c5a1f6a4 /CMakeLists.txt
parent852b1b0e965d16fd4a5067da01e105e1d1396e62 (diff)
downloadknights-080f0e15.tar.gz
knights-080f0e15.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 6902a1c5ee59b38b1fd40ec8f1bf5c38810c5c3c)
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 c7fbe62..a050348 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( media )
add_subdirectory( ${PROJECT_NAME} )
-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