cmake: fix tests/auto/gui/kernel/qguieventloop

The include does not join the required libraries. When building the
tests in a separate build directory this works for some reason (that's
why the CI doesn't catch it). Building everything top level breaks
though.

Considering this happens in maybe two places, I'm not sure it's worth
the effort of fixing the porting scripts.

Change-Id: I104ab9717257cbe8dfd5112dffd0d0b002cdb09e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CMake Build Bot
This commit is contained in:
Frederik Gladhorn 2019-11-01 10:40:29 +01:00
parent 5c6cf6692e
commit 8931f4fe5f

View File

@ -8,8 +8,11 @@ add_qt_test(tst_qguieventloop
GUI
SOURCES
../../../corelib/kernel/qeventloop/tst_qeventloop.cpp
LIBRARIES # special case
Qt::CorePrivate # special case
PUBLIC_LIBRARIES
Qt::Gui
Qt::Network # special case
)
## Scopes: