[cmake-developers] CMAKE_PATCH_VERSION = 10 for 2.8.10.2

David Cole david.cole at kitware.com
Sun Dec 23 09:18:24 EST 2012


For the full CMake version as a string, you should just use
${CMAKE_VERSION} these days.




On Sun, Dec 23, 2012 at 8:38 AM, Alexander Neundorf <neundorf at kde.org>wrote:

> On Sunday 23 December 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.
>
> The "2" is in ${CMAKE_TWEAK_VERSION}
>
> Alex
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20121223/dc927505/attachment.html>


More information about the cmake-developers mailing list