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:13 +0200 |
commit | 80ab8717cc0b9514786c1992e130c753d16590eb (patch) | |
tree | c2628cdb38906441c1c546893429cc36eafd1b88 /modules | |
parent | 47e0e2b4ab62894d1c8472a8634e4be76252e332 (diff) | |
download | tde-cmake-80ab8717cc0b9514786c1992e130c753d16590eb.tar.gz tde-cmake-80ab8717cc0b9514786c1992e130c753d16590eb.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)
Diffstat (limited to 'modules')
-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 3203490..235a751 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() |