diff options
author | Alexis Murzeau <amubtdx@outlook.fr> | 2016-08-29 20:57:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-30 14:51:25 (GMT) |
commit | ed1758f8eb58a4e52acf0f3885f82403814f5ffd (patch) | |
tree | 965ee256fcc2ea0e2ed9952e453400da1975512a /CTestCustom.cmake.in | |
parent | e3a4c2e02ceacd302e8bc6a7dc1bc02b29ab2cfc (diff) | |
download | CMake-ed1758f8eb58a4e52acf0f3885f82403814f5ffd.zip CMake-ed1758f8eb58a4e52acf0f3885f82403814f5ffd.tar.gz CMake-ed1758f8eb58a4e52acf0f3885f82403814f5ffd.tar.bz2 |
FindOpenSSL: Fix detection of OpenSSL 1.1 Win32/64
Since OpenSSL 1.1.0, Windows binaries are libcrypto and libssl instead of
the old names libeay32 and ssleay32.
When using MSVC, FindOpenSSL was searching for the old lib names only so
this add the new names to be able to find OpenSSL 1.1.0 libraries.
For example, the files in lib directory of OpenSSL 1.1.0 Win64 :
- libcrypto.lib
- libssl.lib
- VC/libcrypto64MD.lib
- VC/libcrypto64MDd.lib
- VC/libcrypto64MT.lib
- VC/libcrypto64MTd.lib
- VC/libssl64MD.lib
- VC/libssl64MDd.lib
- VC/libssl64MT.lib
- VC/libssl64MTd.lib
32 bits OpenSSL has the same files with "32" instead of "64" for files in
VC directory.
MinGW still works and use lib/libcrypto.lib and lib/libssl.lib.
This patch also add libssl and libcrypto for other windows compilers too (like
Intel).
Diffstat (limited to 'CTestCustom.cmake.in')
0 files changed, 0 insertions, 0 deletions