Skip to content
Permalink
Browse files

Patch from Mateusz Loskot to allow easily using FWTools install of gdal

Ticket #821: cmake-findgdal-fwtools.patch


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7636 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 21, 2007
1 parent 1620a17 commit bce7ff62237658748e63b5b32e24e626bac6fb0d
Showing with 2 additions and 0 deletions.
  1. +2 −0 cmake/FindGDAL.cmake
@@ -38,8 +38,10 @@ ELSE(WIN32)
ENDIF (APPLE)

SET(GDAL_CONFIG_PREFER_PATH "$ENV{GDAL_HOME}/bin" CACHE STRING "preferred path to GDAL (gdal-config)")
SET(GDAL_CONFIG_PREFER_FWTOOLS_PATH "$ENV{FWTOOLS_HOME}/bin_safe" CACHE STRING "preferred path to GDAL (gdal-config) from FWTools")
FIND_PROGRAM(GDAL_CONFIG gdal-config
${GDAL_CONFIG_PREFER_PATH}
${GDAL_CONFIG_PREFER_FWTOOLS_PATH}
${GDAL_MAC_PATH}
/usr/local/bin/
/usr/bin/

0 comments on commit bce7ff6

Please sign in to comment.
You can’t perform that action at this time.