[cmake-developers] [PATCH v3] FindHDF5.cmake HDF5_VERSION Support

Rolf Eike Beer eike at sf-mail.de
Tue May 19 06:21:59 EDT 2015


Huebl, Axel wrote:

> I personally also tend to the cropped "HDF5_VERSION" for consistency and
> ease-of-use in environments using stable versions of HDF5 (most
> distributions).
> 
> That doesn't mean we could not provide and *additional*
> "HDF5_VERSION_STRING".
> For sake of consistency, I am not sure how to provide a "-somestring"
> extension to "HDF5_VERSION" that cmake's compare operators such as
> VERSION_LESS would understand (and/or ignore). I guess that is not
> possible and would introduce an inconsistency between the string
> "HDF5_VERSION_STRING" and the quasi-numeric variable "HDF5_VERSION".

VERSION_LESS and friends already ignore the extra parts, that is why you only 
need one variable.

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150519/1c103143/attachment.sig>


More information about the cmake-developers mailing list