CMake: Don't propagate openssl headers for the tls plugin

There's no reason to. It's not a Qt module, it's just a plugin and
does not expose any public headers.

Amends d754e43721

Pick-to: 6.4
Task-number: QTBUG-96283
Change-Id: Idf56c82025b81fd6614ef7e1efeb015e89c84f93
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Alexandru Croitor 2022-07-08 17:13:55 +02:00
parent 3d1464fc15
commit f344f3d58e

View File

@ -51,7 +51,6 @@ qt_internal_extend_target(QTlsBackendOpenSSLPlugin CONDITION WIN32
if(QT_FEATURE_openssl_linked)
target_link_libraries(QTlsBackendOpenSSLPlugin PRIVATE WrapOpenSSL::WrapOpenSSL)
else()
qt_internal_add_target_include_dirs_and_optionally_propagate(QTlsBackendOpenSSLPlugin
WrapOpenSSLHeaders::WrapOpenSSLHeaders
)
qt_internal_add_target_include_dirs(QTlsBackendOpenSSLPlugin
WrapOpenSSLHeaders::WrapOpenSSLHeaders)
endif()