mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-01-24 21:05:05 +08:00
30 lines
768 B
CMake
30 lines
768 B
CMake
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
if(NOT QT_FEATURE_private_tests)
|
||
|
return()
|
||
|
endif()
|
||
|
|
||
|
#####################################################################
|
||
|
## tst_qsslsocket Test:
|
||
|
#####################################################################
|
||
|
|
||
|
# Collect test data
|
||
|
list(APPEND test_data "certs")
|
||
|
|
||
|
qt_internal_add_test(tst_qsslsocket
|
||
|
SOURCES
|
||
|
tst_qsslsocket.cpp
|
||
|
LIBRARIES
|
||
|
Qt::CorePrivate
|
||
|
Qt::NetworkPrivate
|
||
|
Qt::TestPrivate
|
||
|
TESTDATA ${test_data}
|
||
|
QT_TEST_SERVER_LIST "squid" "danted" "cyrus" "apache2" "echo"
|
||
|
)
|
||
|
|
||
|
qt_internal_extend_target(tst_qsslsocket CONDITION QT_FEATURE_private_tests AND QT_FEATURE_openssl_linked
|
||
|
LIBRARIES
|
||
|
WrapOpenSSL::WrapOpenSSL
|
||
|
)
|