summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly
diff options
context:
space:
mode:
authorAxel Huebl <a.huebl@hzdr.de>2015-05-11 13:22:28 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-13 14:00:55 (GMT)
commit5685817874e25bb1e8b112e66186eec4345c4635 (patch)
tree05b7fc33ab0cfa1a9a1f416eab4c7c14e07bc8e6 /Tests/CMakeOnly
parent4bd122ad9c82464d8d1271e448e510a5d40f4596 (diff)
downloadCMake-5685817874e25bb1e8b112e66186eec4345c4635.zip
CMake-5685817874e25bb1e8b112e66186eec4345c4635.tar.gz
CMake-5685817874e25bb1e8b112e66186eec4345c4635.tar.bz2
FindHDF5: Add version support
Detect the HDF5 version and set HDF5_VERSION just as we detect HDF5_IS_PARALLEL from the header already.
Diffstat (limited to 'Tests/CMakeOnly')
-rw-r--r--Tests/CMakeOnly/AllFindModules/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
index 15493be..bdc2563 100644
--- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
+++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
@@ -86,8 +86,8 @@ foreach(VTEST ALSA ARMADILLO BZIP2 CUPS CURL EXPAT FREETYPE GETTEXT GIT HG
check_version_string(${VTEST} ${VTEST}_VERSION_STRING)
endforeach()
-foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2 LibArchive OPENSCENEGRAPH
- RUBY SWIG)
+foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2
+ HDF5 LibArchive OPENSCENEGRAPH RUBY SWIG)
check_version_string(${VTEST} ${VTEST}_VERSION)
endforeach()