diff options
author | Slávek Banko <[email protected]> | 2021-07-30 22:42:56 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-07-30 22:42:56 +0200 |
commit | b001af8984211b0d8f914c4093f483e8845d9316 (patch) | |
tree | 0b96ad42e1192d6d2dbe4bbf8b796a4b04c555e1 /CMakeLists.txt | |
parent | 5efbfafcf74452cb2d3dcb399937068da02ae720 (diff) | |
download | knutclient-b001af8984211b0d8f914c4093f483e8845d9316.tar.gz knutclient-b001af8984211b0d8f914c4093f483e8845d9316.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 3961cc5..ef52f54 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( src ) add_subdirectory( pics ) -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 |