diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 13:26:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-07-26 13:27:12 +0200 |
commit | a5d6334b6055e5ff63470363ddbc581240df6019 (patch) | |
tree | 168e93640c6afe1ef07f6f697341035045bd92d5 /CMakeLists.txt | |
parent | 305f1dec119e1beb351da4e7c18a4e5ad1ec7fab (diff) | |
download | tdenetworkmanager-a5d6334b6055e5ff63470363ddbc581240df6019.tar.gz tdenetworkmanager-a5d6334b6055e5ff63470363ddbc581240df6019.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 b416b64..ce202ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,8 +81,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### source directories ######################## add_subdirectory( ${PROJECT_NAME} ) -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 ##################### |