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
Pick-to: 6.0
Change-Id: Ic335e46664edd98217bd55a9bca5a58a39cffe66
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Andreas Buhr 2020-11-23 11:42:26 +01:00
parent 95cbce3e6e
commit f9d172f5a1

View File

@ -12,6 +12,7 @@ qt_internal_add_test(tst_qlibrary
SOURCES
../tst_qlibrary.cpp
TESTDATA ${test_data}
LIBRARIES mylib mylib2 # special case
)
## Scopes: