Hi Breannan,

You can track the status of the fix at
https://gitlab.kitware.com/cmake/cmake/merge_requests/34

On Mon, Jul 11, 2016 at 8:52 AM, Robert Maynard
<[email protected]> wrote:
> Hi Breannan,
>
> I am able to reproduce this and will start digging into why this is occurring.
>
> On Sun, Jul 10, 2016 at 6:34 PM, Breannan Smith <[email protected]> 
> wrote:
>> After upgrading to CMake 3.6.0 from 3.5.2, CMake fails to find HDF5 on OS X.
>>
>> With 3.5.2, find_package(HDF5 REQUIRED COMPONENTS C) reports the
>> following for HDF5_LIBRARIES. Note the presences of libhdf5.dylib, in
>> this list:
>>
>> /usr/local/Cellar/hdf5/1.8.16_1/lib/libhdf5.dylib;/usr/local/opt/szip/lib/libsz.dylib;/usr/lib/libz.dylib;/usr/lib/libdl.dylib;/usr/lib/libm.dylib
>>
>> With 3.6.0, the same find_package command gives the following
>> HDF5_LIBRARIES. Notice that libhdf5.dylib is not even present:
>>
>> /usr/local/lib/libsz.dylib;/usr/lib/libz.dylib;/usr/lib/libdl.dylib;/usr/lib/libm.dylib
>>
>> The contents of the HDF5_LIBRARIES and HDF5_C_LIBRARIES are the same
>> under 3.6.0. Interestingly, the FindHDF5.cmake module does not report
>> a failure under 3.6.0 even though it fails to locate the HDF5 library.
>>
>> I did not see any changes to FindHDF5.cmake listed under the 3.6
>> release notes [1], but diffing the module files there were extensive
>> edits made.
>>
>> Has anyone else run into this issue or found a fix? Thank you!
>>
>> [1] https://cmake.org/cmake/help/v3.6/release/3.6.html
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at: 
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more 
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to