From 7d07debf70de7043e91439dd14918e66a4a36be6 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 27 Jun 2021 11:12:50 +0300 Subject: Various L10n fixes * Removed old POT file * Fixed TDEGlobal->locale()->insertCatalogue() to use new file naming Signed-off-by: Mavridis Philippe --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 188cffb..8fc4fca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,12 @@ include( TDESetupPaths ) tde_setup_paths( ) +##### user-requested modules + +option( BUILD_ALL "Build all" ON ) +option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} ) + + ##### optional stuff option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) @@ -63,7 +69,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" add_subdirectory( src ) add_subdirectory( extra ) -add_subdirectory( translations ) +tde_conditional_add_project_translations( BUILD_TRANSLATIONS ) ##### write configure files -- cgit v1.2.1