From 5907867560942c89e1b3ea2ebd62cccf0b5f8181 Mon Sep 17 00:00:00 2001 From: Baptiste Mouginot Date: Fri, 10 Jan 2025 13:17:27 +0100 Subject: [PATCH] how about now ? --- cmake/MOAB_PullAndMake.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/MOAB_PullAndMake.cmake b/cmake/MOAB_PullAndMake.cmake index be5afc9ad..e83f60749 100644 --- a/cmake/MOAB_PullAndMake.cmake +++ b/cmake/MOAB_PullAndMake.cmake @@ -86,7 +86,7 @@ ENDMACRO(moab_pull_make) MACRO (moab_autobuild_check_deps) # First check IF we are forcing the download of MOAB IF (PULL_INSTALL_MOAB) - IF (NOT DEFINED HDF5_ROOT or not DEFINED ${HDF5_ROOT}) + IF (NOT DEFINED HDF5_ROOT) MESSAGE(FATAL_ERROR "HDF5_ROOT is required to build MOAB") ENDIF()