CMakeL10n: Fix the path for loading additional POT files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 285ad7baee)
v3.5.13-sru
Slávek Banko 3 years ago
parent 523b7a374b
commit 31fb6b688e
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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}" )

Loading…
Cancel
Save