[CMake] What CMake release introduced VERSION_LESS/EQUAL/GREATER

2012-04-26 Thread Bill Lorensen
The subject says it all.
--

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://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] What CMake release introduced VERSION_LESS/EQUAL/GREATER

2012-04-26 Thread Eric Noulard
2012/4/26 Bill Lorensen bill.loren...@gmail.com:
 The subject says it all.

http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix

or as an alternative since:
commit 4fa96dbf95bb3689fb1c3283c38713ec5275f262
Author: Brad King brad.k...@kitware.com
Date:   Wed Sep 10 11:58:40 2008 -0400

ENH: Add version comparison to if() command

then
$ git tag --contains 4fa96db

gives:
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v2.8.4
v2.8.5
v2.8.6
v2.8.7
v2.8.8


-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
--

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://www.cmake.org/mailman/listinfo/cmake