[CMake] Detecting CMake Version

Craig Bradney cbradney at zip.com.au
Fri Dec 1 11:49:40 EST 2006


On Friday 01 December 2006 01:06, Alexander Neundorf wrote:
> 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

Thanks

Craig


More information about the CMake mailing list