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>
pull/58/head
Slávek Banko 4年前
コミット 3bbc0e4d62
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 608F5293A04BE668

@ -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()

読み込み中…
キャンセル
保存