[cmake-developers] FindOpenSSL: Link libraries needed for static OpenSSL.

Alexander Lamaison alexander.lamaison at gmail.com
Sun Aug 14 13:58:52 EDT 2016


OpenSSL depends on system libraries.  When linking statically again
OpenSSL, the client target must also link those libraries.

This patch updates FindOpenSSL.cmake to include the necessary system
libs in the OpenSSL libraries variables and in the OpenSSL::Crypto and
OpenSSL::SSL target properties.

The dependencies:
Windows: crypt32
Unix: CMAKE_DL_LIBS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindOpenSSL-Link-libraries-needed-for-static-OpenSSL.patch
Type: text/x-patch
Size: 3975 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160814/e1713f0b/attachment.bin>


More information about the cmake-developers mailing list