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 <neund...@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 >
-- 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