summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-07-26 12:58:36 +0200
committerSlávek Banko <[email protected]>2021-07-26 12:58:36 +0200
commiteda8adee01eb0d4bff8c45da55c826acea5849ba (patch)
tree01c3cb8de09302597c50b1bf42ff6a3c124ed04a /CMakeLists.txt
parent7cceed3da29ab57f58b5087ed68f0efa7396ce75 (diff)
downloadkkbswitch-eda8adee01eb0d4bff8c45da55c826acea5849ba.tar.gz
kkbswitch-eda8adee01eb0d4bff8c45da55c826acea5849ba.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 adf1f79..ff119aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,8 +72,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
add_subdirectory( icons )
add_subdirectory( ${PROJECT_NAME} )
add_subdirectory( ${PROJECT_NAME}.upd )
-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