On Oct 29, 2009, at 2:03 PM, Will Dicharry wrote:

James C. Sutherland wrote:
It appears that the variable
   HDF5_FOUND
is not being set in the FindHDF5.cmake module.
Any way of getting this fixed prior to the 2.8.0 release?

It is set for my systems when it is found. The standard system module FindPackageHandleStandardArgs should set it when we get through the module with good values for HDF5_LIBRARIES and HDF5_INCLUDE_DIR. On my local system the following CMakeLists.txt:

find_package( HDF5 )
if( HDF5_FOUND )
 message( STATUS "HDF5_FOUND is set" )
endif()

prints
...
-- Found HDF5: /home/wdicharry/.local/lib/libhdf5.so;/home/ wdicharry/.local/lib/libhdf5_hl.so;/usr/lib64/libz.so;/usr/lib64/ libm.so
-- HDF5_FOUND is set
...

What are your values for HDF5_LIBRARIES and HDF5_INCLUDE_DIR?

-- Will


My apologies. I must have had something wrong with my cache file. I wiped it out and re-ran it without problem.
Thanks again for providing this...
_______________________________________________
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