diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d43dce68ef7a0bde1f86820c171b23209d28980..df8ea92c4637c6888ccbb0f111382589f1701e9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,7 +324,7 @@ ENDIF (NOT GDAL_INCLUDE_DIRS) INCLUDE_DIRECTORIES(${GDAL_INCLUDE_DIRS}) -FIND_LIBRARY(GDAL_LIBRARY NAMES gdal gdal1.5.0 PATHS ${GDAL_LIBRARY_DIRS} /usr/lib/gdal) +FIND_LIBRARY(GDAL_LIBRARY NAMES gdal gdal1.6.0 gdal1.5.0 gdal1.4.0 gdal1.3.2 PATHS /usr/lib/gdal) IF (NOT GDAL_LIBRARY) MESSAGE(FATAL_ERROR