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
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 

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-developers

Reply via email to