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

Brad King brad.king at kitware.com
Mon Aug 15 09:25:53 EDT 2016


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.

-Brad



More information about the cmake-developers mailing list