[CMake] Detecting CMake Version

Alexander Neundorf a.neundorf-work at gmx.net
Thu Nov 30 19:06:39 EST 2006


Von: Craig Bradney <cbradney at zip.com.au>

> Hi,
> 
> I know there is CMAKE_MAJOR_VERSION and CMAKE_MINOR_VERSION, is there a
> 3rd value for the last point release version?
> 
> Eg, Alex has put the FindCups in CVS and I'd like to test if the version
> is 
> 2.4.5 or lower and use our included one, or use the CMake one if higher, 
> assuming this FindCups is going into 2.4.5, or whenever, 2.4.6 perhaps.

CMAKE_PATCH_VERSION, exists since 2.4.3

Alex

-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!


More information about the CMake mailing list