From 767bdf4d21fe1b285652ac6c297a95fe662c0dfe Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 14 Jan 2008 13:14:38 +0000 Subject: [PATCH] Added back in checks for various verions of gdal --- CMakeModules/FindGDAL.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeModules/FindGDAL.cmake b/CMakeModules/FindGDAL.cmake index 14c075a1f..845ab6e43 100644 --- a/CMakeModules/FindGDAL.cmake +++ b/CMakeModules/FindGDAL.cmake @@ -56,20 +56,20 @@ FIND_PATH(GDAL_INCLUDE_DIR gdal.h ) FIND_LIBRARY(GDAL_LIBRARY - NAMES gdal GDAL + NAMES gdal gdal_i gdal1.4.0 gdal1.3.2 GDAL PATHS $ENV{GDAL_DIR} NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) FIND_LIBRARY(GDAL_LIBRARY - NAMES gdal GDAL + NAMES gdal gdal_i gdal1.4.0 gdal1.3.2 GDAL PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) FIND_LIBRARY(GDAL_LIBRARY - NAMES gdal GDAL + NAMES gdal gdal_i gdal1.4.0 gdal1.3.2 GDAL PATHS ~/Library/Frameworks /Library/Frameworks