tde_create_translated_desktop: Fix processing when using configure_file.

Although the processing with configure_file was done properly,
the original source file was used instead of the processed one
to merge the translations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3bbc0e4d62)
v3.5.13-sru
Slávek Banko 4 years ago
parent 25375aaa87
commit 2bc11484ac
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1713,7 +1713,7 @@ macro( tde_create_translated_desktop )
# process source file as a configuration file if necessary
if( "${_src}" MATCHES "\\.cmake$" )
configure_file( ${_src} ${_basename} @ONLY )
set( ${_src} "${CMAKE_CURRENT_BINARY_DIR}/${_basename}" )
set( _src "${CMAKE_CURRENT_BINARY_DIR}/${_basename}" )
string( REGEX REPLACE "\\.cmake$" "" _basename "${_basename}" )
endif()

Loading…
Cancel
Save