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.


--

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

Reply via email to