Commit efbc358
committed
fix: remove vcpkg toolchain from Qt build, use -qt-zlib
The vcpkg toolchain file (vcpkg.cmake) automatically injects ALL installed
vcpkg packages into CMake's search path, including OpenSSL. This is why
-no-openssl and empty OPENSSL_DIR vars had no effect - vcpkg kept providing
OpenSSL regardless.
Fix: Remove the vcpkg toolchain from Qt's configure entirely.
Use -qt-zlib (Qt bundled zlib) instead of -system-zlib so Qt does not need
vcpkg at all. Without the vcpkg toolchain, Qt's CMake cannot find OpenSSL,
ensuring only libtorrent links it.1 parent 59eb5b3 commit efbc358
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
| 133 | + | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
| |||
0 commit comments