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

Alexander Lamaison alexander.lamaison at gmail.com
Tue Aug 16 16:44:43 EDT 2016


On 15 August 2016 at 14:25, Brad King <brad.king at kitware.com> wrote:
> On 08/14/2016 01:58 PM, Alexander Lamaison wrote:
>> 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.
>
> Thanks.  The singluar-named OPENSSL_{SSL,CRYPTO}_LIBRARY variables
> are meant just to hold the specific library files (i.e. the result
> of one find_library call).  Instead of placing the dependencies
> directly in them we should have other (internal) variables to hold
> them.  That will also avoid duplicating conditions for filling in
> the imported target information.


I've attached a new patch without the changes to the singular-named variables.

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindOpenSSL-Link-libraries-needed-for-static-OpenSSL.patch
Type: text/x-patch
Size: 3555 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160816/aee8a018/attachment-0001.bin>


More information about the cmake-developers mailing list