diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-25 16:24:47 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-25 16:25:07 +0200 |
| commit | 127f8c97e963940946ef1db5db17c216156ba1cb (patch) | |
| tree | c771430b1d78d568c8ac5bf0f1796a48901d455d /CMakeLists.txt | |
| parent | be1ceff19be3008ed0607176470a3792bc9ffde7 (diff) | |
| download | knowit-127f8c97.tar.gz knowit-127f8c97.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 9a6c286dce7aad505bb5b18696365aaa06b2dde8)
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 89fa6b2..810627f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,8 +69,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### directories add_subdirectory( src ) -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 |
