diff options
author | Volker Krause <vkrause@kde.org> | 2021-04-10 16:34:29 +0200 |
---|---|---|
committer | Volker Krause <vkrause@kde.org> | 2021-04-10 16:34:29 +0200 |
commit | 30c9698dd9a9a34a4f743824ee625171f805fcb9 (patch) | |
tree | 0225c23d01c9f46e7607890d4f4796ff90b39635 /modules | |
parent | 9dfc9ce085681ef46d7343c47730fb3196328167 (diff) | |
download | extra-cmake-modules-30c9698dd9a9a34a4f743824ee625171f805fcb9.tar.gz extra-cmake-modules-30c9698dd9a9a34a4f743824ee625171f805fcb9.tar.bz2 |
Fix installation of qm files from po files in the build directory
That's the case when using KDE_L10N_AUTO_TRANSLATIONS, and the code handles
this case above when looking for the right po location already, but that
result was accidentally discarded here.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ECMPoQmTools.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMPoQmTools.cmake b/modules/ECMPoQmTools.cmake index 4310d4b7..6f04181f 100644 --- a/modules/ECMPoQmTools.cmake +++ b/modules/ECMPoQmTools.cmake @@ -206,7 +206,7 @@ function(ecm_install_po_files_as_qm podir) return() endif() - file(GLOB po_files "${podir}/*/*.po") + file(GLOB po_files "${absolute_podir}/*/*.po") foreach(po_file ${po_files}) get_filename_component(po_dir ${po_file} DIRECTORY) get_filename_component(lang ${po_dir} NAME) |