diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-07-25 17:50:38 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-07-28 14:46:53 +0200 |
commit | 4d22405e482e4e943b9485c6809cad8d6fafcc30 (patch) | |
tree | 25a4de9264eaacd1103996da19254f2db3dc2ce0 /tests/auto/printsupport/kernel | |
parent | 7da51c14d9fba59288535d0a5acca5a6479f18a0 (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/printsupport/kernel')
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/printsupport/kernel/qprintdevice/CMakeLists.txt b/tests/auto/printsupport/kernel/qprintdevice/CMakeLists.txt index 8cdd82068e..e785b43200 100644 --- a/tests/auto/printsupport/kernel/qprintdevice/CMakeLists.txt +++ b/tests/auto/printsupport/kernel/qprintdevice/CMakeLists.txt @@ -9,7 +9,7 @@ qt_internal_add_test(tst_qprintdevice tst_qprintdevice.cpp DEFINES QT_USE_USING_NAMESPACE - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::PrintSupportPrivate ) diff --git a/tests/auto/printsupport/kernel/qprinter/CMakeLists.txt b/tests/auto/printsupport/kernel/qprinter/CMakeLists.txt index 2fffa945a7..dfa72b14d0 100644 --- a/tests/auto/printsupport/kernel/qprinter/CMakeLists.txt +++ b/tests/auto/printsupport/kernel/qprinter/CMakeLists.txt @@ -7,7 +7,7 @@ qt_internal_add_test(tst_qprinter SOURCES tst_qprinter.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::PrintSupport Qt::Widgets diff --git a/tests/auto/printsupport/kernel/qprinterinfo/CMakeLists.txt b/tests/auto/printsupport/kernel/qprinterinfo/CMakeLists.txt index 18a093c4e3..a0808f5d2e 100644 --- a/tests/auto/printsupport/kernel/qprinterinfo/CMakeLists.txt +++ b/tests/auto/printsupport/kernel/qprinterinfo/CMakeLists.txt @@ -9,7 +9,7 @@ qt_internal_add_test(tst_qprinterinfo tst_qprinterinfo.cpp DEFINES QT_USE_USING_NAMESPACE - PUBLIC_LIBRARIES + LIBRARIES Qt::Gui Qt::PrintSupport ) |