From f4ab723ade946aacb6656f8049744d98e3bc8e53 Mon Sep 17 00:00:00 2001 From: Ray-V Date: Tue, 22 Jun 2021 22:21:39 +0100 Subject: [PATCH] Update for Core builds Signed-off-by: Ray-V --- modules/TDEMacros.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index a4c1b4c..8ae0f82 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -2025,6 +2025,9 @@ macro( tde_create_translated_desktop ) # are there any translations available, and required? unset( _translations ) + if(NOT DEFINED BUILD_TRANSLATIONS) + set(BUILD_TRANSLATIONS "$ENV{LINGUAS}") + endif() if( EXISTS "${_po_dir}" AND IS_DIRECTORY "${_po_dir}" AND BUILD_TRANSLATIONS ) file( GLOB _translations RELATIVE "${_po_dir}" "${_po_dir}/*.po" ) endif( )