diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-22 10:58:13 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-22 10:58:13 +0200 |
commit | 993a6fb559306928798a9fe89b07d3a680ac58a3 (patch) | |
tree | 3cf51c32ffd91d2bad85f7bfe859b115dab765db /CMakeLists.txt | |
parent | 1cb578031c9c94da46dcd2a688c90f3d80575b2c (diff) | |
download | kasablanca-993a6fb559306928798a9fe89b07d3a680ac58a3.tar.gz kasablanca-993a6fb559306928798a9fe89b07d3a680ac58a3.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 b9742c3..941422c 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 |