Fix name of the HDF5_C_LIBRARY_hdf5 CMake variable

This commit is contained in:
Wojciech Śmigaj 2021-03-02 16:27:19 +00:00 committed by GitHub
parent e9a7963527
commit e9ef96b733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -724,7 +724,7 @@ IF(USE_HDF5)
FIND_PACKAGE(Threads)
# There is a missing case in the above code so default it
IF(NOT HDF5_C_LIBRARY_HDF5 OR "${HDF5_C_LIBRARY_hdf5}" STREQUAL "" )
IF(NOT HDF5_C_LIBRARY_hdf5 OR "${HDF5_C_LIBRARY_hdf5}" STREQUAL "" )
SET(HDF5_C_LIBRARY_hdf5 "${HDF5_C_LIBRARY}")
ENDIF()