janbar / openssl-cmake

Build OpenSSL with CMake on MacOS, Win32, Win64 and cross compile for Android, IOS
Other
277 stars 144 forks source link

Strangely named library files mean find_package OpenSSL doesn't work #14

Open skeptopic opened 4 years ago

skeptopic commented 4 years ago

I notices that because this builds OpenSSL with library names like:

crypto_1_1x

instead of crypto

it means if you build/install OpenSSL with this repo, it won't be findable via find_package(OpenSSL)

So I made a little flag in my fork to prevent that renaming. It's called OPENSSL_BUILD_WITH_INSTALL_NAMES

I'm sending a PR if you want to take it!

skeptopic commented 4 years ago

https://github.com/janbar/openssl-cmake/pull/15

janbar commented 4 years ago

Yep, the renaming is effective on Windows platform to be conform with Qt5 usage.