diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-26 04:13:22 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-26 04:15:36 +0200 |
commit | 2bc11484ac81523850b5ceb8726220c939ab8ecf (patch) | |
tree | cc3ce06a7e79aa686f6fc78b104e0f58e689dba1 | |
parent | 25375aaa87def8b7686e6e4555ff646ceba224bd (diff) | |
download | tde-cmake-2bc11484ac81523850b5ceb8726220c939ab8ecf.tar.gz tde-cmake-2bc11484ac81523850b5ceb8726220c939ab8ecf.zip |
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 3bbc0e4d62a37030bf87675a33002ecf91b27107)
-rw-r--r-- | modules/TDEMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index fd234e3..099bc40 100644 --- a/modules/TDEMacros.cmake +++ b/modules/TDEMacros.cmake @@ -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() |