Hi! I'm working on some classes for ITK4 that use the HDF library, and
I've run into a quandary.

If you build & install HDF5 with CMake, you MUST use

  find_package(HDF5 [REQUIRED] NO_MODULE)

in order to use HDF5. If you use the more natural command

   find_package(HDF5 [REQUIRED])

then the cmake/share/cmake-2.8/Modules/FindHDF5.cmake fails to find
the installation.

The FindHDF5.cmake depends on HDF5 using the autoconf-based build
system, and searches for one of the HDF utilities to run.

This doesn't feel like a good situation.  Shouldn't the FindHDF5.cmake
perhaps look for both sorts of HDF5 installs?
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to