[cmake-developers] CMAKE_PATCH_VERSION = 10 for 2.8.10.2

Alexander Neundorf neundorf at kde.org
Sun Dec 23 08:38:04 EST 2012


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



More information about the cmake-developers mailing list