update documentation (CMake: use embedded openssl by default #1093)

This commit is contained in:
Alex Fabijanic 2017-10-04 11:46:03 -05:00
parent 8da67bee26
commit a82d4e7293

View File

@ -382,6 +382,27 @@ type the following command:
Similar options are available for other components (see: CMakeLists.txt).
A word on OpenSSL, which is needed for Crypto and NetSSL_OpenSSL libraries:
On Linux, OpenSSL headers and libraries are expected to be in their usual places and CMake buid system will look
for them and adjust settings accordingly.
On Windows, there are two ways to provide OpenSSL:
- pre-built POCO OpenSSL binaries and accompanying headers
- system-installed OpenSSL binaries and accompanying headers
The discovery goes as follows:
1) If %POCO_BASE%/openssl/VS_120 directory is found, headers and binaries from that location will be used; please
see "Build OpenSSL using scripts from POCO distribution package" on how to build your own or get POCO pre-built
OpenSSL binaries. This behavior can be disabled by specifying DISABLE_INTERNAL_OPENSSL=ON.
2) If %POCO_BASE%/openssl/VS_120 directory is not found, or DISABLE_INTERNAL_OPENSSL=ON was specified, CMake will
attempt to find the system-installed OpenSSL. If it is found, it will be used.
3) IF OpenSSL is not discovered through steps 1) or 2), Cypto and NetSSL_OpenSSL will not be built.
!!!Tutorials And Sample Code