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/corelib/io/qfile/CMakeLists.txt | |
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/corelib/io/qfile/CMakeLists.txt')
-rw-r--r-- | tests/auto/corelib/io/qfile/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/io/qfile/CMakeLists.txt b/tests/auto/corelib/io/qfile/CMakeLists.txt index d9c148e9db..5aa86e390f 100644 --- a/tests/auto/corelib/io/qfile/CMakeLists.txt +++ b/tests/auto/corelib/io/qfile/CMakeLists.txt @@ -16,7 +16,7 @@ list(APPEND test_data "resources/file1.ext1") qt_internal_add_test(tst_qfile SOURCES tst_qfile.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::CorePrivate Qt::TestPrivate TESTDATA ${test_data} @@ -59,7 +59,7 @@ qt_internal_add_resource(tst_qfile "copy-fallback" ##################################################################### qt_internal_extend_target(tst_qfile CONDITION TARGET Qt::Network - PUBLIC_LIBRARIES + LIBRARIES Qt::Network ) @@ -74,7 +74,7 @@ qt_internal_extend_target(tst_qfile CONDITION CONFIG___contains___builtin_testda ) qt_internal_extend_target(tst_qfile CONDITION WIN32 - PUBLIC_LIBRARIES + LIBRARIES ole32 uuid ) |