]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Fix for "#18972 [CEA][Windows] Cannot compile SMESH"
authorrnv <rnv@opencascade.com>
Tue, 14 Apr 2020 15:53:23 +0000 (18:53 +0300)
committerrnv <rnv@opencascade.com>
Tue, 14 Apr 2020 15:53:23 +0000 (18:53 +0300)
cmake/FindSalomeHDF5.cmake

index a96ac2d26cf37cb812e40e930dae6345530f1872..b668c6aff420abb434c45920b4d55e4f4dda364e 100644 (file)
@@ -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)