diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-18 21:05:14 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-20 12:17:26 +0200 |
commit | 080f0e155d0e814dc1ba59f3594d154f2c390d31 (patch) | |
tree | 7836f2bdfc3e1a277d78fbb4a7a040c4c5a1f6a4 /CMakeLists.txt | |
parent | 852b1b0e965d16fd4a5067da01e105e1d1396e62 (diff) | |
download | knights-080f0e15.tar.gz knights-080f0e15.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 6902a1c5ee59b38b1fd40ec8f1bf5c38810c5c3c)
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 c7fbe62..a050348 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,8 +70,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( media ) add_subdirectory( ${PROJECT_NAME} ) -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 |