FindProtobuf: Add option to find static libraries on UNIX

Add a `Protobuf_USE_STATIC_LIBS` input variable to optionally restrict
searches to static library names.  This follows the approach of
`FindBoost`.
This commit is contained in:
Sébastien GALLOU
2017-02-06 17:39:59 +01:00
committed by Brad King
parent fddc01bab3
commit a3f71349de
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,5 @@
FindProtobuf-static-libs
------------------------
* The :module:`FindProtobuf` module now supports usage of static libraries
for Unix via a new ``Protobuf_USE_STATIC_LIBS`` input variable.