[cmake-developers] CMAKE_PATCH_VERSION = 10 for 2.8.10.2

Rolf Eike Beer eike at sf-mail.de
Sun Dec 23 04:57:22 EST 2012


Alan W. Irwin wrote:
> Shouldn't that be 10.2?
> 
> I like to output the exact CMake version each time I run cmake using
> 
> message(STATUS
> "CMake version =
> ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}")
> 
> but the result is the incorrect 2.8.10 for CMake version 2.8.10.2.
> 
> In the past, the above cmake logic has worked fine for release
> candidates, where the RC string is part of CMAKE_PATCH_VERSION, e.g.,
> 10-RC1.  But not in the present case.

CMAKE_TWEAK_VERSION

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/20121223/8b166cf7/attachment.sig>


More information about the cmake-developers mailing list