summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/cmptest
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/testlib/selftests/cmptest
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/testlib/selftests/cmptest')
-rw-r--r--tests/auto/testlib/selftests/cmptest/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/testlib/selftests/cmptest/CMakeLists.txt b/tests/auto/testlib/selftests/cmptest/CMakeLists.txt
index b5522fe4bb..e677935e5d 100644
--- a/tests/auto/testlib/selftests/cmptest/CMakeLists.txt
+++ b/tests/auto/testlib/selftests/cmptest/CMakeLists.txt
@@ -9,7 +9,7 @@ qt_internal_add_executable(cmptest
OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} # special case
SOURCES
tst_cmptest.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Test
)
@@ -17,7 +17,7 @@ qt_internal_add_executable(cmptest
#####################################################################
qt_internal_extend_target(cmptest CONDITION TARGET Qt::Gui
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
)