diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 411f38a..0318890 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -1989,8 +1989,9 @@ macro( tde_create_translated_desktop ) # prepare a full name for the target get_filename_component( _target ${_basename} ABSOLUTE ) - file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}" ) - string( REPLACE "/" "+" _target "${_target}-translated" ) + file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}-translated" ) + string( REPLACE "/" "+" _target "${_target}" ) + string( REPLACE "@" "_" _target "${_target}" ) if( NOT TARGET ${_target} )