Salome HOME
merge from master
[tools/sat_salome.git] / products / patches / netcdf-4.6.2-001.patch
1 --- netcdf_ref/CMakeLists.txt   2022-01-23 21:24:33.029077174 +0100
2 +++ netcdf_dev/CMakeLists.txt   2022-01-23 21:31:47.176203170 +0100
3 @@ -750,7 +750,7 @@
4      SET(H5_USE_16_API 0)
5    ENDIF()
6  
7 -  FIND_PATH(HAVE_HDF5_H hdf5.h)
8 +  FIND_PATH(HAVE_HDF5_H hdf5.h PATHS ${HDF5_INCLUDE_DIR})
9    IF(NOT HAVE_HDF5_H)
10      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.")
11    ELSE(NOT HAVE_HDF5_H)