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:51 +0200
commitfcb20499c948af03c2b6aff5eac5390b26872d55 (patch)
tree95f7bbc6ddcfeaa6a468f4e8351feb5fe1f3d04d /CMakeLists.txt
parent82ee8b34926d52813bdf7324a5a09d63cad3da28 (diff)
downloadkkbswitch-fcb20499c948af03c2b6aff5eac5390b26872d55.tar.gz
kkbswitch-fcb20499c948af03c2b6aff5eac5390b26872d55.zip
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit eda8adee01eb0d4bff8c45da55c826acea5849ba)
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 8f20fd4..b1dbc96 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