Fix cmake warnings from using deprecated PUBLIC_LIBRARIES

Pick-to: 6.4
Change-Id: I8d4f0d9e98edc4e06dda9f58e62197572b4cbdbc
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Volker Hilsheimer 2022-09-03 11:45:49 +02:00
parent a610aeec0e
commit bf3500a631
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ qt_internal_add_test(tst_qmetaobject_compat
${tst_qmetaobject_SOURCES}
DEFINES
USE_COMPAT_Q_ARG=1
PUBLIC_LIBRARIES
LIBRARIES
Qt::CorePrivate
NO_BATCH
)

View File

@ -7,7 +7,7 @@ qt_internal_add_executable(eventloop
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
SOURCES
tst_eventloop.cpp
PUBLIC_LIBRARIES
LIBRARIES
Qt::Test
)