summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-26 16:57:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-26 16:57:13 +0200
commit73d91758e2010ace4a10c7a2590813c3c16d5092 (patch)
tree381612bb8b6d85edafb4eba0e18e1206978da66b /CMakeLists.txt
parent5ef9f395c61ca57a76357d4048951dc1452c41c1 (diff)
downloadknetstats-73d91758e2010ace4a10c7a2590813c3c16d5092.tar.gz
knetstats-73d91758e2010ace4a10c7a2590813c3c16d5092.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 9ed3f6c..18eb526 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( icons )
-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