CMakeL10n: Fix the path for loading additional POT files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/78/head
Slávek Banko 3 years ago
parent 7eac0a0f68
commit 285ad7baee
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