From b1f604964ecde7258e653df124883c61494f6c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 17 Jun 2021 10:32:53 +0200 Subject: =?UTF-8?q?Update=20to=20use=20tde=5Fconditional=5Fadd=5Fproject?= =?UTF-8?q?=5F=E2=80=A6=20rules=20for=20documentation=20and=20translations?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 6b1d512016b9580744f8367cc85ac08d173e1bd7) --- CMakeLists.txt | 8 ++++++-- doc/CMakeLists.txt | 1 - translations/CMakeLists.txt | 1 - translations/messages/CMakeLists.txt | 1 - 4 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 doc/CMakeLists.txt delete mode 100644 translations/CMakeLists.txt delete mode 100644 translations/messages/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index d9b6247..f7c08c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,8 +68,12 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( icons ) 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 ##################### diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index fde3c3e..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_add_project_docs() diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt deleted file mode 100644 index 42b186a..0000000 --- a/translations/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_auto_add_subdirectories() diff --git a/translations/messages/CMakeLists.txt b/translations/messages/CMakeLists.txt deleted file mode 100644 index 24e3bd8..0000000 --- a/translations/messages/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -tde_add_project_translations() -- cgit v1.2.1