[CMake] FindHDF5.cmake improvement proposal
Michael Jackson
mike.jackson at bluequartz.net
Tue Mar 2 13:01:53 EST 2010
On 3/2/2010 12:37 PM, Mark Moll wrote:
> On Mar 2, 2010, at 10:53 AM, Antonio Valentino wrote:
>
>>> 2. For your SZip portion to work, there would need to be a
>>> FindSZip.cmake in system modules directory. Do you have one that you
>>> can contribute?
>>>
>> Oh, sorry.
>> I found it on gitorious.org
>>
>> http://gitorious.org/hdf5/hdf5-v18/blobs/master/Resources/CMake/FindSZIP.cmake
>>
>
>
> It would be nice if the FindSZIP module could detect whether the SZip library contains the encoder. The encoding part has a different license [1] than the decoding part, so some package managers (like MacPorts) do not install the encoder by default. I have no idea how to do this.
>
> [1] See http://www.hdfgroup.org/doc_resource/SZIP/.
>
>
>
I don't see why it couldn't if the proper defines are put into the
header files, or better yet, a normal SZipConfig.cmake file that could
simply be read would be great. Don't have the time currently myself but
it would be a nice addition.
Mike J.
More information about the CMake
mailing list