diff options
author | Slávek Banko <[email protected]> | 2021-07-26 16:50:36 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-07-26 16:50:54 +0200 |
commit | 41ecda684e180a5d0e5c5e735c1f4dad3ef4af1d (patch) | |
tree | e797e0425f6f0c9a30bfc8bf0cf07496f4aa67d0 /CMakeLists.txt | |
parent | c0deb41e7dd5ea425cd26412e086f8036cebf112 (diff) | |
download | dolphin-41ecda684e180a5d0e5c5e735c1f4dad3ef4af1d.tar.gz dolphin-41ecda684e180a5d0e5c5e735c1f4dad3ef4af1d.zip |
Use common rules for build and install documentation and translations.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit eaf82b5285bba447c3994ce8ce15c05fe78e5331)
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 673898c..d203b90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,8 +71,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 ##################### |