FindProtobuf: check version

Check found libraries version to match user required version.

Protobuf compiler executable version is checked to be aligned with found
libraries, raising a warning message otherwise.
This commit is contained in:
Antonio Perez Barrero
2016-02-12 08:23:44 +01:00
committed by Brad King
parent 8dfb6f8b37
commit bb7a41ab9b
3 changed files with 64 additions and 2 deletions
@@ -0,0 +1,6 @@
FindProtobuf-version
--------------------
* The :module:`FindProtobuf` module learned to provide a ``PROTOBUF_VERSION``
variable and check the version number requested in a :command:`find_package`
call.