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} )