diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-22 13:43:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-22 13:43:46 +0200 |
commit | 8ac87cbc104405b6dc3388829177c4db9f5da4ae (patch) | |
tree | fe009382960d310253dd68f96e7ac9c1a7993044 /CMakeLists.txt | |
parent | 86cbf592b3059facbf140ded010d9d2cf922bdff (diff) | |
download | kstreamripper-8ac87cbc104405b6dc3388829177c4db9f5da4ae.tar.gz kstreamripper-8ac87cbc104405b6dc3388829177c4db9f5da4ae.zip |
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 e8feb9a..5edc6a9 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 |