diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 16:56:14 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 16:56:25 +0200 |
| commit | caa82d89e51cf9e0b03482c0535fc6fbce7380e6 (patch) | |
| tree | fc64aaa39d6a257d905fc9b5a0225eac889c81e5 /CMakeLists.txt | |
| parent | e8c747773a9ba0d6e9b8ea02f965aa35550adaa6 (diff) | |
| download | knetload-caa82d89.tar.gz knetload-caa82d89.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 709891637733f1a4fd5b249b3f41d7b1501fb8e9)
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 3bb5657..c3325ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,8 +69,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( icons ) add_subdirectory( knetload ) -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 |
