summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-08 14:39:05 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-08 14:39:05 (GMT)
commit24ca336981696c6f77a4eb965ccc79ad4c98a2c0 (patch)
tree3708e25d2bf8b51c93994aa5425cbd75283be428
parentddf485511bb1d5b9ff6a3c9b00e92707e3a99b1a (diff)
parenta6abb6c8b63434d1794a8fd6ae1d5f5fa2dc85f3 (diff)
downloadCMake-24ca336981696c6f77a4eb965ccc79ad4c98a2c0.zip
CMake-24ca336981696c6f77a4eb965ccc79ad4c98a2c0.tar.gz
CMake-24ca336981696c6f77a4eb965ccc79ad4c98a2c0.tar.bz2
Merge branch 'FindHDF5-c-version' into release-3.10
Merge-request: !1465
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index de20049..3279bf2 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -214,7 +214,7 @@ function(_HDF5_test_regular_compiler_C success version is_parallel)
)
set(${version} ${CMAKE_MATCH_1})
if(CMAKE_MATCH_3)
- set(${version} ${HDF5_CXX_VERSION}.${CMAKE_MATCH_3})
+ set(${version} ${HDF5_C_VERSION}.${CMAKE_MATCH_3})
endif()
set(${version} ${${version}} PARENT_SCOPE)