Commit c6f4f8d5 authored by David Partyka's avatar David Partyka
Browse files

vtkhdf5: Migrate FindHDF5 from ParaView to VTK.

parent 29d3a087
#
# Find the native HDF5 includes and library
#
# HDF5_INCLUDE_DIR - where to find H5public.h, etc.
# HDF5_LIBRARIES - List of fully qualified libraries to link against when using hdf5.
# HDF5_FOUND - Do not attempt to use hdf5 if "no" or undefined.
FIND_PATH(HDF5_INCLUDE_DIR H5public.h
/usr/local/include
/usr/include
)
FIND_LIBRARY(HDF5_LIBRARY hdf5
/usr/local/lib
/usr/lib
)
IF(HDF5_INCLUDE_DIR)
IF(HDF5_LIBRARY)
SET( HDF5_LIBRARIES ${HDF5_LIBRARY} )
SET( HDF5_FOUND "YES" )
ENDIF(HDF5_LIBRARY)
ENDIF(HDF5_INCLUDE_DIR)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment