summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-26 13:26:35 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-26 13:27:41 +0200
commit5f4f04ec4f3cd0ceabb4128b196cb958d1f17772 (patch)
treed873110cc397eff799f84a0feee4ca97ed8f1f2f /CMakeLists.txt
parent34c2cbb34f310819b8899e1db6aa5d4db32ded30 (diff)
downloadtdenetworkmanager-5f4f04ec.tar.gz
tdenetworkmanager-5f4f04ec.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 a5d6334b6055e5ff63470363ddbc581240df6019)
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 b416b64..ce202ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,8 +81,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### source directories ########################
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 #####################