From: rnv Date: Tue, 14 Apr 2020 15:53:23 +0000 (+0300) Subject: Fix for "#18972 [CEA][Windows] Cannot compile SMESH" X-Git-Tag: V9_5_0b1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a3b57d278bad5926ff46ec35a05aaef7327a9d3a;p=tools%2Fconfiguration.git Fix for "#18972 [CEA][Windows] Cannot compile SMESH" --- diff --git a/cmake/FindSalomeHDF5.cmake b/cmake/FindSalomeHDF5.cmake index a96ac2d..b668c6a 100644 --- a/cmake/FindSalomeHDF5.cmake +++ b/cmake/FindSalomeHDF5.cmake @@ -31,6 +31,9 @@ SET(HDF5_ROOT_DIR $ENV{HDF5_ROOT_DIR} CACHE PATH "Path to the HDF5.") IF(HDF5_ROOT_DIR) SET (HDF5_ROOT ${HDF5_ROOT_DIR}) + IF(WIN32) + SET(HDF5_DIR ${HDF5_ROOT_DIR}/cmake/hdf5) + ENDIF() ENDIF() SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(HDF5 HDF5_INCLUDE_DIR 1)