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:
parent
acd906061a
commit
0bc3457257
@ -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
|
||||
)
|
||||
|
@ -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
|
||||
)
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user