[cmake-developers] hdf5 dependency on mpi

Brad King brad.king at kitware.com
Mon Apr 22 16:45:29 EDT 2013


On 04/22/2013 03:32 PM, Biddiscombe, John A. wrote:
> Suppose hdf5 pulls in the mpi lib and includes, and the project using it
> requests mpi separately. Is there a correct - or standard - way of making
> sure the user does not choose a different mpi lib

I'm not aware of a standard way to deal with this.  It is tricky
because the downstream project could find_package(MPI) and
find_package(HDF5) in either order so there is no good place to
hook in to enforce consistency.

-Brad



More information about the cmake-developers mailing list