Re-introduced GDAL plugin.

This commit is contained in:
Robert Osfield 2007-08-07 10:33:25 +00:00
parent f94bfa7589
commit 2ec9fa7ea9
3 changed files with 7 additions and 1 deletions

View File

@ -149,6 +149,7 @@ FIND_PACKAGE(Xine)
FIND_PACKAGE(OpenVRML)
FIND_PACKAGE(Performer)
FIND_PACKAGE(ZLIB)
FIND_PACKAGE(GDAL)
# SET(DESIRED_QT_VERSION 3)
# FIND_PACKAGE(Qt)

View File

@ -10,6 +10,7 @@
# Created by Robert Osfield.
FIND_PATH(GDAL_INCLUDE_DIR gdal.h
${GDAL_DIR}/include
$ENV{GDAL_DIR}/include
$ENV{GDAL_DIR}
$ENV{OSGDIR}/include
@ -28,8 +29,9 @@ FIND_PATH(GDAL_INCLUDE_DIR gdal.h
)
FIND_LIBRARY(GDAL_LIBRARY
NAMES gdal
NAMES gdal gdal_i gdal1.4.0 gdal1.3.2
PATHS
${GDAL_DIR}/lib
$ENV{GDAL_DIR}/lib
$ENV{GDAL_DIR}
$ENV{OSGDIR}/lib

View File

@ -74,6 +74,9 @@ ENDIF(PNG_FOUND)
IF(TIFF_FOUND)
ADD_SUBDIRECTORY(tiff)
ENDIF(TIFF_FOUND)
IF(GDAL_FOUND)
ADD_SUBDIRECTORY(gdal)
ENDIF(GDAL_FOUND)
############################################################
#