diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-30 22:44:03 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-30 22:44:03 +0200 |
commit | a33469c0c9a542fd5e82b29ea132848c010c2623 (patch) | |
tree | 0f3ea63140e7fc2e557ef29431a30d832613a84e /CMakeLists.txt | |
parent | 6f154b4ba40b9f241d19d1d05ff2a9d81cbd0a15 (diff) | |
download | kompose-a33469c0c9a542fd5e82b29ea132848c010c2623.tar.gz kompose-a33469c0c9a542fd5e82b29ea132848c010c2623.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 93d603e..0abb81c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,8 +75,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 ##################### |