[CMake] [New Module] FindHDF5.cmake

Brad King brad.king at kitware.com
Thu Aug 20 13:59:42 EDT 2009


John R. Cary wrote:
> Brad King wrote:
>> John, how do autotools detect this?
> 
> hdf5par=`grep "HAVE_PARALLEL 1" $HDF5_INCDIR/H5config.h`
> 
> I suppose there are other ways, but we have been doing this through
> several versions of hdf5.

Great, thanks John.

Will, you should be able to use the file(STRINGS) command
to grep through H5config.h after finding it.

-Brad


More information about the CMake mailing list