diff options
-rw-r--r-- | modules/TDEMacros.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index e16d7b0..616cb79 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} ) |