CMake: Fix PUBLIC_LIBRARIES option is deprecated in tests warning

Rename it to just LIBRARIES, as PUBLIC_LIBRARIES is not meant to be
used in tests.

Change-Id: Idcf35e2834de44b2dd8d11cdef0205b11e89d377
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 492deefc17435bef03964382e0abadb16d86669c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexandru Croitor 2024-10-24 19:29:39 +02:00
parent acd906061a
commit 0bc3457257
3 changed files with 3 additions and 6 deletions

View File

@ -17,8 +17,7 @@ qt_internal_add_test(tst_qwasmkeytranslator
DEFINES
QT_NO_FOREACH
LIBRARIES
Qt::Core
Qt::Gui
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Core
)

View File

@ -17,9 +17,8 @@ qt_internal_add_test(tst_qwasmwindowstack
DEFINES
QT_NO_FOREACH
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::GuiPrivate
Qt::Widgets
)

View File

@ -17,9 +17,8 @@ qt_internal_add_test(tst_qwasmwindowtreenode
DEFINES
QT_NO_FOREACH
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::GuiPrivate
Qt::Widgets
)