Update TDEL10n module

+ Fix unwanted semicolons processing within CMake
  on extracted resources and attributes.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 98f96eb509)
r14.0.x
Slávek Banko 6 years ago
parent 8349b4a317
commit 98ab4f915b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -366,7 +366,7 @@ macro( tde_l10n_create_template )
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE _sources_rc
)
file( APPEND ${CMAKE_CURRENT_SOURCE_DIR}/extracted-rc.tde_l10n ${_sources_rc} )
file( APPEND ${CMAKE_CURRENT_SOURCE_DIR}/extracted-rc.tde_l10n "${_sources_rc}" )
endif( )
# extract attributes
@ -387,7 +387,7 @@ macro( tde_l10n_create_template )
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE _attrib_rc
)
file( APPEND ${CMAKE_CURRENT_SOURCE_DIR}/extracted-rc.tde_l10n ${_attrib_rc} )
file( APPEND ${CMAKE_CURRENT_SOURCE_DIR}/extracted-rc.tde_l10n "${_attrib_rc}" )
endif( )
endif( )
endforeach( )
@ -532,7 +532,7 @@ macro( tde_l10n_create_template )
endif( _pot )
# cleanup
foreach( _file ${_files} ${_rsc} ${_desktops} )
foreach( _file ${_files} ${_rcs} ${_desktops} )
if( "${_file}" MATCHES "\\.tde_l10n$" )
file( REMOVE ${CMAKE_CURRENT_SOURCE_DIR}/${_file} )
endif( )

Loading…
Cancel
Save