[cmake-developers] hdf5 dependency on mpi (was: CMake 2.8.11-rc3 ready for testing!)
Stephen Kelly
steveire at gmail.com
Mon Apr 22 11:12:41 EDT 2013
Brad King wrote:
> On 04/22/2013 10:46 AM, Biddiscombe, John A. wrote:
>> "C:\Program Files\hdf5-1.8.11\cmake\hdf5\hdf5-config.cmake"
>> find_package(HDF5 NO_MODULE)
>> then the user’s project has a ‘hidden’ dependency on mpi
>
> In similar cases (in VTK and ITK) we have the package config file
> do find_package() for transitive dependencies. One may pre-populate
> any cache entries that the find module needs using the results from
> the original build tree (assuming the dependency does not move).
I was going to suggest the same. The
"C:\Program Files\hdf5-1.8.11\cmake\hdf5\hdf5-config.cmake"
file should contain find_package(mpi), if that is needed.
> The new features do not provide a new way to solve this problem
> AFAIK.
As far as I understand the issue, I agree. Even if the new features were
used for another reason, the need for the find_package would still be there.
Thanks,
Steve.
More information about the cmake-developers
mailing list