Update for Core builds

Signed-off-by: Ray-V <ray-v@inbox.lv>
pull/73/head
Ray-V 3 years ago
parent 73277a4d75
commit f4ab723ade

@ -2025,6 +2025,9 @@ macro( tde_create_translated_desktop )
# are there any translations available, and required? # are there any translations available, and required?
unset( _translations ) 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 ) if( EXISTS "${_po_dir}" AND IS_DIRECTORY "${_po_dir}" AND BUILD_TRANSLATIONS )
file( GLOB _translations RELATIVE "${_po_dir}" "${_po_dir}/*.po" ) file( GLOB _translations RELATIVE "${_po_dir}" "${_po_dir}/*.po" )
endif( ) endif( )

Loading…
Cancel
Save