Remove duplicate line

Not sure where the almost duplicate `find_path` line came from.  Removed it.
This commit is contained in:
Greg Sjaardema 2021-10-11 11:01:19 -06:00 committed by GitHub
parent c457b050d4
commit 5c2a8f282f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -805,7 +805,6 @@ IF(USE_HDF5)
ENDIF()
FIND_PATH(HAVE_HDF5_H hdf5.h PATHS ${HDF5_INCLUDE_DIR} NO_DEFAULT_PATH)
FIND_PATH(HAVE_HDF5_H hdf5.h)
IF(NOT HAVE_HDF5_H)
MESSAGE(FATAL_ERROR "Compiling a test with hdf5 failed. Either hdf5.h cannot be found, or the log messages should be checked for another reason.")
ELSE(NOT HAVE_HDF5_H)