FindOpenSSL: Optionally search only for static libraries

Add an OPENSSL_USE_STATIC_LIBS option to enable it.  Adjust
CMAKE_FIND_LIBRARY_SUFFIXES to only look for .a and .lib files.  Also
adjust the search paths on Windows for installer locations of static
libraries.
This commit is contained in:
Thijs Wenker
2015-09-01 14:56:36 +02:00
committed by Brad King
parent 72c11e5902
commit 369a8cde37
2 changed files with 35 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
FindOpenSSL-static-libs
-----------------------
* The :module:`FindOpenSSL` module learned a new ``OPENSSL_USE_STATIC_LIBS``
option to search only for static libraries.