diff options
author | Brad King <brad.king@kitware.com> | 2017-11-09 13:30:15 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-09 13:30:19 (GMT) |
commit | a16930167dcec066eb70925b82ecfd27e48d2660 (patch) | |
tree | 5310fde5ca34e32e74b7932f60d569a9b870255c /Modules/FindHDF5.cmake | |
parent | 05d8892e6113272c9b9ab73ceb9c8319e6690a25 (diff) | |
parent | a6abb6c8b63434d1794a8fd6ae1d5f5fa2dc85f3 (diff) | |
download | CMake-a16930167dcec066eb70925b82ecfd27e48d2660.zip CMake-a16930167dcec066eb70925b82ecfd27e48d2660.tar.gz CMake-a16930167dcec066eb70925b82ecfd27e48d2660.tar.bz2 |
Merge topic 'FindHDF5-c-version'
a6abb6c8 FindHDF5: Fix H5_VERSION on Patch in C
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1465
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r-- | Modules/FindHDF5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 012ae22..41b1002 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) |