Commit 677e41a
committed
fix: explicitly prevent Qt from finding OpenSSL via empty OPENSSL_DIR
The -no-openssl flag alone didn't prevent Qt's CMake from finding and linking
the vcpkg OpenSSL library. Add OPENSSL_DIR, OPENSSL_CRYPTO_LIBRARY, and
OPENSSL_SSL_LIBRARY CMake variables set to empty strings to tell CMake not to
look for OpenSSL at all during Qt build.
This ensures Qt's network module uses only schannel (Windows native TLS), and
libtorrent is the ONLY source of OpenSSL in the final binary, eliminating
duplicate symbols that cause stack overflow in tls_parse_all_extensions.1 parent 0992b79 commit 677e41a
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
0 commit comments