mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-01-25 05:14:34 +08:00
31 lines
800 B
CMake
31 lines
800 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"
|
|
BUNDLE_ANDROID_OPENSSL_LIBS
|
|
)
|
|
|
|
qt_internal_extend_target(tst_qsslsocket CONDITION QT_FEATURE_private_tests AND QT_FEATURE_openssl_linked
|
|
LIBRARIES
|
|
WrapOpenSSL::WrapOpenSSL
|
|
)
|