summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-07-25 17:50:38 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-28 14:46:53 +0200
commit4d22405e482e4e943b9485c6809cad8d6fafcc30 (patch)
tree25a4de9264eaacd1103996da19254f2db3dc2ce0 /tests/auto/tools/moc
parent7da51c14d9fba59288535d0a5acca5a6479f18a0 (diff)
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I9b7404e1d3a78fe0726ec0f5ce1461f6c209e90d Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests/auto/tools/moc')
-rw-r--r--tests/auto/tools/moc/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/tools/moc/CMakeLists.txt b/tests/auto/tools/moc/CMakeLists.txt
index 30dddffa71..ea5232c504 100644
--- a/tests/auto/tools/moc/CMakeLists.txt
+++ b/tests/auto/tools/moc/CMakeLists.txt
@@ -78,7 +78,7 @@ qt_internal_add_test(tst_moc
EXCEPTIONS
)
-qt_internal_extend_target(tst_moc PUBLIC_LIBRARIES Qt::CorePrivate)
+qt_internal_extend_target(tst_moc LIBRARIES Qt::CorePrivate)
qt_internal_extend_target(tst_moc CONDITION CMAKE_CROSSCOMPILING
DEFINES
@@ -102,22 +102,22 @@ qt_internal_extend_target(tst_moc CONDITION CLANG OR GCC
)
qt_internal_extend_target(tst_moc CONDITION TARGET Qt::DBus
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::DBus
)
qt_internal_extend_target(tst_moc CONDITION TARGET Qt::Concurrent
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Concurrent
)
qt_internal_extend_target(tst_moc CONDITION TARGET Qt::Network
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Network
)
qt_internal_extend_target(tst_moc CONDITION TARGET Qt::Sql
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Sql
)