From: adam Date: Mon, 4 Jan 2010 10:47:47 +0000 (+0000) Subject: Compatibility with new hdf versions X-Git-Tag: PARAVIS_29012010~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e1e04a71c511f4bea2d63f2ef5410bfd2205753;p=modules%2Fkernel.git Compatibility with new hdf versions --- 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)