From 0e1e04a71c511f4bea2d63f2ef5410bfd2205753 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 4 Jan 2010 10:47:47 +0000 Subject: [PATCH] Compatibility with new hdf versions --- salome_adm/cmake_files/FindHDF5.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salome_adm/cmake_files/FindHDF5.cmake b/salome_adm/cmake_files/FindHDF5.cmake index fe54d590a..e7e8d2f83 100644 --- a/salome_adm/cmake_files/FindHDF5.cmake +++ b/salome_adm/cmake_files/FindHDF5.cmake @@ -104,7 +104,7 @@ IF(HDF5_STATUS) IF(HDF5_ROOT_USER) SET(HDF5_INCLUDES -I${HDF5_INCLUDE_DIR}) ENDIF(HDF5_ROOT_USER) - SET(HDF5_INCLUDES -D_HDF5USEDLL_ ${HDF5_INCLUDES}) + SET(HDF5_INCLUDES -DH5_USE_16_API -D_HDF5USEDLL_ ${HDF5_INCLUDES}) MESSAGE(STATUS "${HDF5_INCLUDE_TO_FIND} found in ${HDF5_INCLUDE_DIR}") ELSE(HDF5_INCLUDE_DIR) SET(HDF5_STATUS 0) -- 2.39.2