Update TDEL10n module

+ Fix unwanted double processing of resource files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 67db9032d9)
v3.5.13-sru
Slávek Banko 6 years ago
parent 3033d2ea6c
commit ffaf4158ee
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -336,7 +336,7 @@ macro( tde_l10n_create_template )
# prepare resource files *.kcfg, *.rc and *.ui
foreach( _src ${_files} )
if( ${_src} MATCHES "\\.(kcfg|rc|ui)(\\.cmake)?(\\.tde_l10n)?$" )
if( ${_src} MATCHES "\\.(kcfg|rc|ui)(\\.cmake)?$" )
tde_l10n_prepare_xml( ${_src} )
list( REMOVE_ITEM _files ${_src} )
list( APPEND _files "${_src}.tde_l10n" )

Loading…
Cancel
Save