-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#28170711 ADD CMAKE SUPPORT FOR OPENSSL 1.1 ON WINDOWS
In Windows.cmake: WARNING rather than FATAL_ERROR for 32bit builds if this is a client-only build. ssl.cmake: FIND_PACKAGE(OpenSSL) has a predefined set of places to look for the installed package. This means that it may return path to the 32bit library, even for a 64bit build, if both library versions are installed. To avoid this, we do our own lookup, and set OPENSSL_ROOT_DIR before calling FIND_PACKAGE(OpenSSL). ssl.cmake: The .lib files have changed names on windows for OpenSSL 1.1, so look for 'libssl' and 'libcrypto' in addition to the NAMES we already look for. ssl.cmake: Get OPENSSL_MINOR_VERSION from OPENSSL_VERSION_NUMBER ssl.cmake: Warn about usage of OpenSSL 1.1 on windows. The server will actually hang on the first call to any SSL function. File a separate bug for this. ssl.cmake: For OpenSSL 1.1 the libraries have changed names on windows: ssleay32.dll -> libssl-1_1-x64.dll or libssl-1_1.dll libeay32.dll -> libcrypto-1_1-x64.dll or libcrypto-1_1.dll Rewrite the cmake code for locating the .dll files, and allow 32bit versions also. Also: ensure that CMAKE_SIZEOF_VOID_P matches result of CHECK_TYPE_SIZE("void*") Change-Id: I6d2fd0a27ef56baa1f31896ba79b03d290be1b3d
- Loading branch information
Tor Didriksen
committed
Jun 13, 2018
1 parent
57e401b
commit 6d07c9c
Showing
3 changed files
with
78 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters