From 7cda1d2edde0e3e0e4c682adf8028588b2aee23c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 27 Sep 2021 13:39:27 +0200 Subject: [PATCH] [calamares] Test-loader tries loading from install-dir, too --- src/calamares/testmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calamares/testmain.cpp b/src/calamares/testmain.cpp index c0258eb54..1d6971e80 100644 --- a/src/calamares/testmain.cpp +++ b/src/calamares/testmain.cpp @@ -298,7 +298,7 @@ load_module( const ModuleConfig& moduleConfig ) bool ok = false; QVariantMap descriptor; - QStringList moduleDirectories { "./", "src/modules/", "modules/" }; + QStringList moduleDirectories { "./", "src/modules/", "modules/", CMAKE_INSTALL_FULL_LIBDIR "/calamares/modules/" }; for ( const QString& prefix : qAsConst( moduleDirectories ) ) { // Could be a complete path, eg. src/modules/dummycpp/module.desc