diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-12 15:31:51 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-12 15:31:51 +0100 |
commit | 98f96eb509b3d2470220ac7b0829f5e76d51fa22 (patch) | |
tree | b8fbc31bfe4ce8fed2a8828dac0d65dc546ec13b /modules | |
parent | b88855a2934b96a2af767d1cecfae5ca66641fdf (diff) | |
download | tde-cmake-98f96eb509b3d2470220ac7b0829f5e76d51fa22.tar.gz tde-cmake-98f96eb509b3d2470220ac7b0829f5e76d51fa22.zip |
Update TDEL10n module
+ Fix unwanted semicolons processing within CMake
on extracted resources and attributes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/TDEL10n.cmake | 6 |
1 files 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( ) |