Skip to content

Commit bce7ff6

Browse files
author
timlinux
committedNov 21, 2007
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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎cmake/FindGDAL.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ ELSE(WIN32)
3838
ENDIF (APPLE)
3939

4040
SET(GDAL_CONFIG_PREFER_PATH "$ENV{GDAL_HOME}/bin" CACHE STRING "preferred path to GDAL (gdal-config)")
41+
SET(GDAL_CONFIG_PREFER_FWTOOLS_PATH "$ENV{FWTOOLS_HOME}/bin_safe" CACHE STRING "preferred path to GDAL (gdal-config) from FWTools")
4142
FIND_PROGRAM(GDAL_CONFIG gdal-config
4243
${GDAL_CONFIG_PREFER_PATH}
44+
${GDAL_CONFIG_PREFER_FWTOOLS_PATH}
4345
${GDAL_MAC_PATH}
4446
/usr/local/bin/
4547
/usr/bin/

0 commit comments

Comments
 (0)
Please sign in to comment.