]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Compatibility with new hdf versions
authoradam <adam>
Mon, 4 Jan 2010 10:47:47 +0000 (10:47 +0000)
committeradam <adam>
Mon, 4 Jan 2010 10:47:47 +0000 (10:47 +0000)
salome_adm/cmake_files/FindHDF5.cmake

index fe54d590a2a8b6201f2c1b7f8818efd6db9c6aba..e7e8d2f839f0ae5b04b8d6a099187d0aca655cf2 100644 (file)
@@ -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)