summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorAntonio Perez Barrero <apbarrero@gmail.com>2016-02-12 07:23:44 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-16 15:09:39 (GMT)
commitbb7a41ab9b0b6a5a2cee3f330a2e223392ee4a70 (patch)
tree533b334a0af1db61f03f7916e3b07187f62fe9ee /Help
parent8dfb6f8b372b159c050b6ea5e16b4e44dd9ed095 (diff)
downloadCMake-bb7a41ab9b0b6a5a2cee3f330a2e223392ee4a70.zip
CMake-bb7a41ab9b0b6a5a2cee3f330a2e223392ee4a70.tar.gz
CMake-bb7a41ab9b0b6a5a2cee3f330a2e223392ee4a70.tar.bz2
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.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/FindProtobuf-version.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/FindProtobuf-version.rst b/Help/release/dev/FindProtobuf-version.rst
new file mode 100644
index 0000000..2bfd9f4
--- /dev/null
+++ b/Help/release/dev/FindProtobuf-version.rst
@@ -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.