summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-26 16:50:36 +0200
committerSlávek Banko <[email protected]>2021-07-26 16:50:36 +0200
commiteaf82b5285bba447c3994ce8ce15c05fe78e5331 (patch)
treec53fad01e92b67fae1a3a59d24992c98f9f92301 /CMakeLists.txt
parent1e91a065aae78a2ea5133f0c739b3700bdd756a1 (diff)
downloaddolphin-eaf82b5285bba447c3994ce8ce15c05fe78e5331.tar.gz
dolphin-eaf82b5285bba447c3994ce8ce15c05fe78e5331.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <[email protected]>
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 fcdbcfc..b47be8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -71,8 +71,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### source 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 #####################