[cmake-developers] CMAKE_PATCH_VERSION = 10 for 2.8.10.2
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Sun Dec 23 00:08:30 EST 2012
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.
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
More information about the cmake-developers
mailing list