From 9abc84a131d41d6e4fa6fd1f4f1c5f66a4cbccfa Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Mon, 23 Nov 2020 11:42:26 +0100 Subject: [PATCH] Fix tst_qlibrary by telling CMake about required libraries tst_qlibraries needs to test libraries to be built in order to run successfully. However, these libraries were not mentioned as dependencies in CMake. This patch fixes that. Fixes: QTBUG-88445 Change-Id: Ic335e46664edd98217bd55a9bca5a58a39cffe66 Reviewed-by: Qt CI Bot Reviewed-by: Alexandru Croitor (cherry picked from commit f9d172f5a191a4e0e13923a6a1d31e86107bc75e) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt b/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt index 0f18c8dccc4..ef062a53a2b 100644 --- a/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt +++ b/tests/auto/corelib/plugin/qlibrary/tst/CMakeLists.txt @@ -12,6 +12,7 @@ qt_internal_add_test(tst_qlibrary SOURCES ../tst_qlibrary.cpp TESTDATA ${test_data} + LIBRARIES mylib mylib2 # special case ) ## Scopes: