Commit 59eb5b3
committed
fix: remove CMAKE_PREFIX_PATH from Qt build to hide OpenSSL
The -no-openssl and empty OPENSSL_DIR vars didn't prevent Qt from finding
the vcpkg OpenSSL library because CMAKE_PREFIX_PATH included the entire
vcpkg installed folder.
Remove CMAKE_PREFIX_PATH entirely during Qt configure. The -system-zlib flag
will find zlib through the vcpkg toolchain, and Qt won't have any path to find
OpenSSL at all.
This ensures ONLY libtorrent links OpenSSL, eliminating duplicate symbols.1 parent 677e41a commit 59eb5b3
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 134 | | |
139 | 135 | | |
140 | 136 | | |
| |||
0 commit comments