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)
r14.0.x
Slávek Banko 6 years ago
parent 60591118be
commit 5b16af7c3c
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 # prepare resource files *.kcfg, *.rc and *.ui
foreach( _src ${_files} ) foreach( _src ${_files} )
if( ${_src} MATCHES "\\.(kcfg|rc|ui)(\\.cmake)?(\\.tde_l10n)?$" ) if( ${_src} MATCHES "\\.(kcfg|rc|ui)(\\.cmake)?$" )
tde_l10n_prepare_xml( ${_src} ) tde_l10n_prepare_xml( ${_src} )
list( REMOVE_ITEM _files ${_src} ) list( REMOVE_ITEM _files ${_src} )
list( APPEND _files "${_src}.tde_l10n" ) list( APPEND _files "${_src}.tde_l10n" )

Loading…
Cancel
Save