From 3bbc0e4d62a37030bf87675a33002ecf91b27107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Jun 2020 04:13:22 +0200 Subject: [PATCH] tde_create_translated_desktop: Fix processing when using configure_file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/TDEMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 6eb6cf4..f4f3b4f 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -1900,7 +1900,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()