diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 10:30:08 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 10:30:24 +0200 |
| commit | 03beb6214ff6e01a052d7ee2c13aa669676ab8af (patch) | |
| tree | 526e2b08e77e98d321be214df704023ffb1904f4 /CMakeLists.txt | |
| parent | 19adf7c8f71ca0708c0a72f9893d2a11a9e303ee (diff) | |
| download | kdpkg-03beb621.tar.gz kdpkg-03beb621.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 b0a9a8156dc3eb9583a14278a6faf98f53f8fd7c)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index fda6896..53de689 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,8 +71,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( icon ) add_subdirectory( ${PROJECT_NAME} ) add_subdirectory( ${PROJECT_NAME}-install ) -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 |
