summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-07-07 20:59:00 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-07-07 20:59:00 +0200
commit285ad7baee805733bd3492a6055c4577c6e69c45 (patch)
tree256a936f247fc7527fe4b1eef1ee083958a78560
parent7eac0a0f6871f89baacb761fa771474f27f59022 (diff)
downloadtde-cmake-285ad7baee805733bd3492a6055c4577c6e69c45.tar.gz
tde-cmake-285ad7baee805733bd3492a6055c4577c6e69c45.zip
CMakeL10n: Fix the path for loading additional POT files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--modules/TDEL10n.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake
index 2faa466..2beadf6 100644
--- a/modules/TDEL10n.cmake
+++ b/modules/TDEL10n.cmake
@@ -577,7 +577,7 @@ macro( tde_l10n_create_template )
# join additional pot files
if( _pots )
foreach( _extra_pot IN LISTS _pots )
- file( READ ${_extra_pot} _extra_pot )
+ file( READ ${CMAKE_CURRENT_SOURCE_DIR}/${_extra_pot} _extra_pot )
if( _extra_pot )
if( _pot )
set( _pot "${_pot}\n${_extra_pot}" )