diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-30 22:40:16 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-30 22:40:38 +0200 |
| commit | 548e1ebbd9d1421df4846093fcd77ca6bcee72e9 (patch) | |
| tree | 8921f14d81679051cfeaa51d90f0998cdee24cb9 /CMakeLists.txt | |
| parent | 7908f948d48431e37fe6b8cf12bad10dacc4511c (diff) | |
| download | kdirstat-548e1ebb.tar.gz kdirstat-548e1ebb.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 cfde71551f0c3e754bbff27ea6722fa479fdfdbe)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b1b3871..9eb65fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,10 +69,13 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### directories 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 |
