From: Pascal Obry Date: Thu, 1 Jul 2021 06:53:57 +0000 (+0200) Subject: Fix detection of HDF5. X-Git-Tag: V9_8_0a1~7^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8477b2e6a02fff68f8937a0d90950fb122c1b7d8;p=tools%2Fconfiguration.git Fix detection of HDF5. Same fix already put in place for Qt5. Use the standard CMake macro make the detection sucessful. --- diff --git a/cmake/FindSalomeHDF5.cmake b/cmake/FindSalomeHDF5.cmake index 16b91ff..2f9dbe5 100644 --- a/cmake/FindSalomeHDF5.cmake +++ b/cmake/FindSalomeHDF5.cmake @@ -36,7 +36,7 @@ IF(HDF5_ROOT_DIR) ENDIF() ENDIF() -SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(HDF5 HDF5_INCLUDE_DIR 1) +FIND_PACKAGE(HDF5) MARK_AS_ADVANCED(FORCE HDF5_INCLUDE_DIR HDF5_LIB HDF5_DIR) # Stupidly enough, CONFIG mode and MODULE mode for HDF5 do not return the same thing ...!