diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-07-28 09:48:20 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-07-28 11:27:42 +0200 |
commit | a0ed97abb7fbff980135120fa4dd3d985abb2d73 (patch) | |
tree | fb8b261d99b57776dc93a25dd14355f8289d5636 | |
parent | 54bae4964b5f17d543f02bf2b5eac96edfa3045c (diff) |
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I6b32ceed117940092ee0bdf83b254931e584fc2e
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
-rw-r--r-- | tests/auto/qserialport/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/auto/qserialportinfo/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/auto/qserialportinfoprivate/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qserialport/CMakeLists.txt b/tests/auto/qserialport/CMakeLists.txt index d8f00ef4..c66e7ad9 100644 --- a/tests/auto/qserialport/CMakeLists.txt +++ b/tests/auto/qserialport/CMakeLists.txt @@ -8,7 +8,7 @@ qt_internal_add_test(tst_qserialport SOURCES tst_qserialport.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::SerialPort Qt::Test ) diff --git a/tests/auto/qserialportinfo/CMakeLists.txt b/tests/auto/qserialportinfo/CMakeLists.txt index a943f6f2..e0b8bc8d 100644 --- a/tests/auto/qserialportinfo/CMakeLists.txt +++ b/tests/auto/qserialportinfo/CMakeLists.txt @@ -8,7 +8,7 @@ qt_internal_add_test(tst_qserialportinfo SOURCES tst_qserialportinfo.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::SerialPort Qt::Test ) diff --git a/tests/auto/qserialportinfoprivate/CMakeLists.txt b/tests/auto/qserialportinfoprivate/CMakeLists.txt index bb905a7b..eafb9e47 100644 --- a/tests/auto/qserialportinfoprivate/CMakeLists.txt +++ b/tests/auto/qserialportinfoprivate/CMakeLists.txt @@ -8,7 +8,7 @@ qt_internal_add_test(tst_qserialportinfoprivate SOURCES tst_qserialportinfoprivate.cpp - PUBLIC_LIBRARIES + LIBRARIES Qt::SerialPortPrivate Qt::Test ) |