summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-25 16:03:32 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-27 00:21:46 +0200
commitd45ce923db83c31776ba0bfe1519079adc0580d1 (patch)
treedab574c6b4b0ead37d6ed8c5cdea5988cc432215 /CMakeLists.txt
parent9d44dbef4aff3818594d4f45d861c1c4aa5c7116 (diff)
downloadkbookreader-d45ce923db83c31776ba0bfe1519079adc0580d1.tar.gz
kbookreader-d45ce923db83c31776ba0bfe1519079adc0580d1.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 e48fa94..b9d8aa2 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( images )
-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