From 30c9698dd9a9a34a4f743824ee625171f805fcb9 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sat, 10 Apr 2021 16:34:29 +0200 Subject: 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. --- modules/ECMPoQmTools.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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) -- cgit v1.2.1