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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
