From 98f96eb509b3d2470220ac7b0829f5e76d51fa22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 12 Dec 2018 15:31:51 +0100 Subject: Update TDEL10n module + Fix unwanted semicolons processing within CMake on extracted resources and attributes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEL10n.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index 503f883..86bc6ef 100644 --- a/modules/TDEL10n.cmake +++ b/modules/TDEL10n.cmake @@ -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( ) -- cgit v1.2.1