Skip to content

Commit

Permalink
Patch from Mateusz Loskot to allow easily using FWTools install of gdal
Browse files Browse the repository at this point in the history
Ticket #821: cmake-findgdal-fwtools.patch


git-svn-id: http://svn.osgeo.org/qgis/trunk@7636 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 21, 2007
1 parent 15d0015 commit 852421f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindGDAL.cmake
Expand Up @@ -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/
Expand Down

0 comments on commit 852421f

Please sign in to comment.