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

2016-08-17 Thread Rolf Eike Beer
Am 2016-08-17 14:53, schrieb Brad King: On 08/16/2016 04:44 PM, Alexander Lamaison wrote: I've attached a new patch without the changes to the singular-named variables. Thanks. +if(WIN32 AND NOT CYGWIN) + set_target_properties(OpenSSL::Crypto PROPERTIES +INTERFACE_LINK_LIBRA

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

2016-08-17 Thread Brad King
On 08/16/2016 04:44 PM, Alexander Lamaison wrote: > I've attached a new patch without the changes to the singular-named variables. Thanks. > +if(WIN32 AND NOT CYGWIN) > + set_target_properties(OpenSSL::Crypto PROPERTIES > +INTERFACE_LINK_LIBRARIES crypt32) > +else() > +

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

2016-08-16 Thread Alexander Lamaison
On 15 August 2016 at 14:25, Brad King 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 sin

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

2016-08-15 Thread Brad King
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