Re-introduced GDAL plugin.
This commit is contained in:
parent
f94bfa7589
commit
2ec9fa7ea9
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
############################################################
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user