summaryrefslogtreecommitdiffstats
path: root/Tests
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 /Tests
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 'Tests')
-rw-r--r--Tests/CMakeOnly/AllFindModules/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
index bdc2563..0aad161 100644
--- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
+++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
@@ -92,4 +92,5 @@ foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2
endforeach()
check_version_string(PYTHONINTERP PYTHON_VERSION_STRING)
+check_version_string(Protobuf PROTOBUF_VERSION)
check_version_string(SUBVERSION Subversion_VERSION_SVN)