[CMake] [New Module] FindHDF5.cmake

Denis Scherbakov denis_scherbakov at yahoo.com
Tue Jul 7 11:27:06 EDT 2009


> I have written a find module that invokes the hdf5 wrapper
> compiler to determine libraries and includes that are
> necessary for clients of HDF5.  I tried to follow the
> guidelines for formatting and naming set forth in the module
> readme.  At the moment, the module has been tested on
> Linux, AIX, and Cray (CNL) systems.

I can immediately report a bug in your package, without even loooking
at it. During cross-compiling no program can be executed.

Correct way would be to check if you're in cross-compile mode and if
yes, try some other ways to find HDF5 libraries.

Denis


      


More information about the CMake mailing list