aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-07-28 09:57:09 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-07-28 11:27:30 +0200
commit398bdb6a318270c9614a56433c273fe62a2bf908 (patch)
treef6bab1d60f0dabf055e7006ac68c9176a359a100 /tests
parent7a305be37bad584f45cef9c7c49351f2f76fcb14 (diff)
CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: Ie0b008d4f8f594044049c38a3cc5ef1c05f27d1e Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmlwebsockets/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/dataprocessor/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/handshakerequest/CMakeLists.txt1
-rw-r--r--tests/auto/websockets/handshakeresponse/CMakeLists.txt1
-rw-r--r--tests/auto/websockets/qdefaultmaskgenerator/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/qwebsocket/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/qwebsocketcorsauthenticator/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/qwebsocketserver/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/websocketframe/CMakeLists.txt2
-rw-r--r--tests/auto/websockets/websocketprotocol/CMakeLists.txt2
10 files changed, 8 insertions, 10 deletions
diff --git a/tests/auto/qml/qmlwebsockets/CMakeLists.txt b/tests/auto/qml/qmlwebsockets/CMakeLists.txt
index 1183893..9fadfd6 100644
--- a/tests/auto/qml/qmlwebsockets/CMakeLists.txt
+++ b/tests/auto/qml/qmlwebsockets/CMakeLists.txt
@@ -15,7 +15,7 @@ qt_internal_add_test(tst_qmlwebsockets
QMLTEST
SOURCES
tst_qmlwebsockets.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
TESTDATA ${test_data}
)
diff --git a/tests/auto/websockets/dataprocessor/CMakeLists.txt b/tests/auto/websockets/dataprocessor/CMakeLists.txt
index c74c2a2..a60b7d2 100644
--- a/tests/auto/websockets/dataprocessor/CMakeLists.txt
+++ b/tests/auto/websockets/dataprocessor/CMakeLists.txt
@@ -14,7 +14,7 @@ endif()
qt_internal_add_test(tst_dataprocessor
SOURCES
tst_dataprocessor.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSocketsPrivate
)
diff --git a/tests/auto/websockets/handshakerequest/CMakeLists.txt b/tests/auto/websockets/handshakerequest/CMakeLists.txt
index 211fae2..ffdeed2 100644
--- a/tests/auto/websockets/handshakerequest/CMakeLists.txt
+++ b/tests/auto/websockets/handshakerequest/CMakeLists.txt
@@ -16,7 +16,6 @@ qt_internal_add_test(tst_handshakerequest
tst_handshakerequest.cpp
LIBRARIES
Qt::NetworkPrivate
- PUBLIC_LIBRARIES
Qt::WebSocketsPrivate
)
diff --git a/tests/auto/websockets/handshakeresponse/CMakeLists.txt b/tests/auto/websockets/handshakeresponse/CMakeLists.txt
index ff35b4a..d9a5c2e 100644
--- a/tests/auto/websockets/handshakeresponse/CMakeLists.txt
+++ b/tests/auto/websockets/handshakeresponse/CMakeLists.txt
@@ -16,7 +16,6 @@ qt_internal_add_test(tst_handshakeresponse
tst_handshakeresponse.cpp
LIBRARIES
Qt::NetworkPrivate
- PUBLIC_LIBRARIES
Qt::WebSocketsPrivate
)
diff --git a/tests/auto/websockets/qdefaultmaskgenerator/CMakeLists.txt b/tests/auto/websockets/qdefaultmaskgenerator/CMakeLists.txt
index 224c61a..b8b1c4a 100644
--- a/tests/auto/websockets/qdefaultmaskgenerator/CMakeLists.txt
+++ b/tests/auto/websockets/qdefaultmaskgenerator/CMakeLists.txt
@@ -14,7 +14,7 @@ endif()
qt_internal_add_test(tst_defaultmaskgenerator
SOURCES
tst_defaultmaskgenerator.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSocketsPrivate
)
diff --git a/tests/auto/websockets/qwebsocket/CMakeLists.txt b/tests/auto/websockets/qwebsocket/CMakeLists.txt
index 7d4ace4..8a36ad0 100644
--- a/tests/auto/websockets/qwebsocket/CMakeLists.txt
+++ b/tests/auto/websockets/qwebsocket/CMakeLists.txt
@@ -10,7 +10,7 @@
qt_internal_add_test(tst_qwebsocket
SOURCES
tst_qwebsocket.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSockets
)
diff --git a/tests/auto/websockets/qwebsocketcorsauthenticator/CMakeLists.txt b/tests/auto/websockets/qwebsocketcorsauthenticator/CMakeLists.txt
index b8f9ca1..2e4f003 100644
--- a/tests/auto/websockets/qwebsocketcorsauthenticator/CMakeLists.txt
+++ b/tests/auto/websockets/qwebsocketcorsauthenticator/CMakeLists.txt
@@ -10,7 +10,7 @@
qt_internal_add_test(tst_qwebsocketcorsauthenticator
SOURCES
tst_qwebsocketcorsauthenticator.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSockets
)
diff --git a/tests/auto/websockets/qwebsocketserver/CMakeLists.txt b/tests/auto/websockets/qwebsocketserver/CMakeLists.txt
index 7cbedc6..32bf7a8 100644
--- a/tests/auto/websockets/qwebsocketserver/CMakeLists.txt
+++ b/tests/auto/websockets/qwebsocketserver/CMakeLists.txt
@@ -10,7 +10,7 @@
qt_internal_add_test(tst_qwebsocketserver
SOURCES
tst_qwebsocketserver.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSockets
)
diff --git a/tests/auto/websockets/websocketframe/CMakeLists.txt b/tests/auto/websockets/websocketframe/CMakeLists.txt
index 04b360b..3eee4cc 100644
--- a/tests/auto/websockets/websocketframe/CMakeLists.txt
+++ b/tests/auto/websockets/websocketframe/CMakeLists.txt
@@ -14,7 +14,7 @@ endif()
qt_internal_add_test(tst_websocketframe
SOURCES
tst_websocketframe.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSocketsPrivate
)
diff --git a/tests/auto/websockets/websocketprotocol/CMakeLists.txt b/tests/auto/websockets/websocketprotocol/CMakeLists.txt
index e665755..9f94b18 100644
--- a/tests/auto/websockets/websocketprotocol/CMakeLists.txt
+++ b/tests/auto/websockets/websocketprotocol/CMakeLists.txt
@@ -14,7 +14,7 @@ endif()
qt_internal_add_test(tst_websocketprotocol
SOURCES
tst_websocketprotocol.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::WebSocketsPrivate
)