From e48ebe7b80cbaafd582bc5d0027d9f826572b725 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Mon, 11 Oct 2021 11:08:19 -0600 Subject: [PATCH] Remove another duplicate find_path There was another almost duplicate `find_path` call in the code that is now removed. It wasn't a part of this PR, but removing just for completeness --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4be85edc1..89ca1d9ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -915,7 +915,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)