diff options
author | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2019-11-01 10:40:29 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2019-11-01 13:01:21 +0000 |
commit | 8931f4fe5f0f7420d66e92375583293f0b364543 (patch) | |
tree | eb69d953562ac8373a281ae3ab43710ca4e79a03 /tests/auto/gui/kernel/qguieventloop | |
parent | 5c6cf6692e23a1603deee5ba4aa4566d245d7fbb (diff) |
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
Diffstat (limited to 'tests/auto/gui/kernel/qguieventloop')
-rw-r--r-- | tests/auto/gui/kernel/qguieventloop/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt index f7f83420ca..7ac5cdc343 100644 --- a/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt +++ b/tests/auto/gui/kernel/qguieventloop/CMakeLists.txt @@ -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: |