summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-26 16:56:14 +0200
committerSlávek Banko <[email protected]>2021-07-26 16:56:14 +0200
commit709891637733f1a4fd5b249b3f41d7b1501fb8e9 (patch)
tree5d18baec22ea220a03f5faed3f1fefd964a802b7 /CMakeLists.txt
parentd365e6a56b6d8869dd3de72d61a8b888322b738b (diff)
downloadknetload-709891637733f1a4fd5b249b3f41d7b1501fb8e9.tar.gz
knetload-709891637733f1a4fd5b249b3f41d7b1501fb8e9.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 3851c24..5604051 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,8 +69,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( icons )
add_subdirectory( knetload )
-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