[Qgis-developer] PATCH: check gdal version at cmake time

Tim Sutton tim at linfiniti.com
Wed Nov 19 15:10:12 EST 2008


Hi

Applied as r9672. 

Thanks

On Wed, 2008-11-19 at 10:23 +0100, strk wrote:
> On Wed, Nov 19, 2008 at 10:00:12AM +0100, strk wrote:
> > The attached macro checks that GDAL is at least 
> > version 1.4.0 or refuses to complete configuration
> > successfully.
> 
> > +      IF (GDAL_VERSION_MAJOR LESS 1 OR GDAL_VERSION_MINOR LESS 4)
> > +          MESSAGE (FATAL_ERROR "GDAL version is too old (${GDAL_VERSION}). Use 1.4.0 or higher.")
> > +      ENDIF (GDAL_VERSION_MAJOR LESS 1 OR GDAL_VERSION_MINOR LESS 3)
> 
> Patch for the patch :)
> the ENDIF should end with 'LESS 4' or cmake complains...
> 
> --strk;
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Visit http://linfiniti.com to find out about:
 * QGIS programming services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting & Support Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
==============================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20081119/639821d1/attachment.bin


More information about the Qgis-developer mailing list