From 285ad7baee805733bd3492a6055c4577c6e69c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 7 Jul 2021 20:59:00 +0200 Subject: [PATCH] CMakeL10n: Fix the path for loading additional POT files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEL10n.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index 2faa466..2beadf6 100644 --- a/modules/TDEL10n.cmake +++ b/modules/TDEL10n.cmake @@ -577,7 +577,7 @@ macro( tde_l10n_create_template ) # join additional pot files if( _pots ) foreach( _extra_pot IN LISTS _pots ) - file( READ ${_extra_pot} _extra_pot ) + file( READ ${CMAKE_CURRENT_SOURCE_DIR}/${_extra_pot} _extra_pot ) if( _extra_pot ) if( _pot ) set( _pot "${_pot}\n${_extra_pot}" )