summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-16 12:22:07 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-18 15:18:20 +0200
commit06443899af23ee1fe620967ca4b9b883626eb1c3 (patch)
treefffe90c251b7df84b16e769b890dd9d1a304e062 /CMakeLists.txt
parenta1af937098d67b18d2cf21030643efd5b49a1cca (diff)
downloadkdiff3-06443899af23ee1fe620967ca4b9b883626eb1c3.tar.gz
kdiff3-06443899af23ee1fe620967ca4b9b883626eb1c3.zip
Use common rules for build and install documentation and translations.
Customized copy of the usual en/common directory deleted because the standard version from tdelibs is always used for TDE version. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 839233498639cbf53b00d60f13e07db2d47f150a)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 951c2f9..381d48e 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( kdiff3plugin )
-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