diff options
author | Slávek Banko <[email protected]> | 2021-07-26 16:55:21 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-07-26 16:55:21 +0200 |
commit | 824f93c1eb483ee8cd682207976bdcc7d94e4702 (patch) | |
tree | 0ae0f8bb14894b32707f806407962565a5787340 /CMakeLists.txt | |
parent | b93599b9d8190d42e275faef41dd73b2817c40b2 (diff) | |
download | klamav-824f93c1eb483ee8cd682207976bdcc7d94e4702.tar.gz klamav-824f93c1eb483ee8cd682207976bdcc7d94e4702.zip |
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <[email protected]>
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 6ed91d1..0cc41d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,8 +76,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source 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 ##################### |