FindOpenSSL: Report crypto and ssl libraries separately

Some applications only need the OpenSSL crypto library and want to avoid
linking against the SSL library.  Set OPENSSL_CRYPTO_LIBRARY and
OPENSSL_SSL_LIBRARY in the code paths that do not need to find them
separately, and document them publicly.  This allows applications to be
more specific when linking against OpenSSL.
This commit is contained in:
Hannes Mezger
2014-11-28 15:21:53 +01:00
committed by Brad King
parent 8e75f1d2fa
commit be9bec5df2
2 changed files with 19 additions and 4 deletions
@@ -0,0 +1,7 @@
FindOpenSSL-separate-libs
-------------------------
* The :module:`FindOpenSSL` module now reports ``crypto`` and ``ssl``
libraries separately in ``OPENSSL_CRYPTO_LIBRARY`` and
``OPENSSL_SSL_LIBRARY``, respectively, to allow applications to
link to one without the other.