mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 15:56:52 +08:00
23 lines
820 B
CMake
23 lines
820 B
CMake
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
# SSL library include path is not propagated with private tests which results in
|
||
|
# test not being able to find the ssl header when they are not in the standard
|
||
|
# include paths
|
||
|
if (QT_FEATURE_private_tests)
|
||
|
if (QT_FEATURE_openssl AND QT_FEATURE_openssl_linked AND QT_FEATURE_ssl)
|
||
|
include_directories($<TARGET_PROPERTY:OpenSSL::SSL,INTERFACE_INCLUDE_DIRECTORIES>)
|
||
|
endif()
|
||
|
|
||
|
if (QT_FEATURE_openssl AND QT_FEATURE_ssl AND NOT QT_FEATURE_openssl_linked)
|
||
|
include_directories($<TARGET_PROPERTY:WrapOpenSSLHeaders::WrapOpenSSLHeaders,INTERFACE_INCLUDE_DIRECTORIES>)
|
||
|
endif()
|
||
|
endif()
|
||
|
|
||
|
add_subdirectory(access)
|
||
|
add_subdirectory(kernel)
|
||
|
add_subdirectory(socket)
|
||
|
if(QT_FEATURE_openssl)
|
||
|
add_subdirectory(ssl)
|
||
|
endif()
|