diff options
author | Slávek Banko <[email protected]> | 2024-10-08 10:34:14 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-10-08 11:04:04 +0200 |
commit | 2f37ffcc6b3f12e23519c0f01c8dc917213b7865 (patch) | |
tree | 699de0a892d799121f8e1bd41500be738c4bfd60 /modules | |
parent | 5283559e25aa4dfe02cf88399f5d24d3423604cb (diff) | |
download | tde-cmake-2f37ffcc6b3f12e23519c0f01c8dc917213b7865.tar.gz tde-cmake-2f37ffcc6b3f12e23519c0f01c8dc917213b7865.zip |
tde_create_translated_desktop: Fix processing of files with spaces in name.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 38529b8692626697965166c34f502c4e3fe19098)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/TDEMacros.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 3556731..ded84a8 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -2084,7 +2084,7 @@ macro( tde_create_translated_desktop ) # tde_setup_msgfmt( ) #endif( ) #if( "${MSGFMT_VERSION}" VERSION_LESS "0.19" ) - if( TRUE ) + if( 1 ) if( NOT PERL_EXECUTABLE ) include( FindPerl ) endif( ) @@ -2204,6 +2204,7 @@ macro( tde_create_translated_desktop ) file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}-translated" ) string( REPLACE "/" "+" _target "${_target}" ) string( REPLACE "@" "_" _target "${_target}" ) + string( REPLACE " " "_" _target "${_target}" ) if( NOT TARGET ${_target} ) |