Skip to content
Permalink
Browse files

Added some extremely clever logic so gdal headers on Gutsy Gibbon are…

… located properly

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7161 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Aug 28, 2007
1 parent e7d833f commit e69036b746cd8167c6df05f454e89dc062073f64
Showing with 8 additions and 1 deletion.
  1. +8 −1 cmake/FindGDAL.cmake
@@ -37,7 +37,14 @@ ELSE(WIN32)
EXEC_PROGRAM(${GDAL_CONFIG}
ARGS --prefix
OUTPUT_VARIABLE GDAL_PREFIX)
SET(GDAL_INCLUDE_DIR ${GDAL_PREFIX}/include CACHE STRING INTERNAL)
#SET(GDAL_INCLUDE_DIR ${GDAL_PREFIX}/include CACHE STRING INTERNAL)
FIND_PATH(GDAL_INCLUDE_DIR
gdal.h
${GDAL_PREFIX}/include/gdal
${GDAL_PREFIX}/include
/usr/local/include
/usr/include
)

## extract link dirs for rpath
EXEC_PROGRAM(${GDAL_CONFIG}

0 comments on commit e69036b

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