Make use of improved linking against static platform plugins for tests
This commit is contained in:
parent
a0b31d8ddd
commit
d6293b7084
|
@ -98,7 +98,7 @@ include(ConfigHeader)
|
|||
|
||||
# configure test target
|
||||
include(TestUtilities)
|
||||
set(QT_TEST_LIBRARIES ${CPP_UTILITIES_LIB} ${META_TARGET_NAME})
|
||||
list(APPEND QT_TEST_LIBRARIES ${CPP_UTILITIES_LIB} ${META_TARGET_NAME})
|
||||
use_qt_module(LIBRARIES_VARIABLE "QT_TEST_LIBRARIES" PREFIX "${QT_PACKAGE_PREFIX}" MODULE "Test")
|
||||
foreach (TEST ${QT_TESTS})
|
||||
configure_test_target(TEST_NAME "${TEST}_tests" SRC_FILES "tests/${TEST}.cpp" LIBRARIES "${QT_TEST_LIBRARIES}")
|
||||
|
|
Loading…
Reference in New Issue