diff --git a/src/plugins/tls/openssl/CMakeLists.txt b/src/plugins/tls/openssl/CMakeLists.txt index 489aa32ef6..b804326d15 100644 --- a/src/plugins/tls/openssl/CMakeLists.txt +++ b/src/plugins/tls/openssl/CMakeLists.txt @@ -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()