[Liblas-commits] hg: make GDAL error more descriptive

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Jul 20 15:34:01 EDT 2010


changeset ca2db778c95f in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=ca2db778c95f
summary: make GDAL error more descriptive

diffstat:

 CMakeLists.txt |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 047f7d4e403b -r ca2db778c95f CMakeLists.txt
--- a/CMakeLists.txt	Tue Jul 20 10:41:38 2010 -0500
+++ b/CMakeLists.txt	Tue Jul 20 14:33:54 2010 -0500
@@ -218,7 +218,7 @@
         if(NOT HAVE_OSRSETEQUIRECTANGULAR2)
             # Reset to NOT found for GDAL/OGR
             set(GDAL_FOUND)
-            message(FATAL_ERROR "GDAL support requires GDAL 1.6.0 or newer")
+            message(FATAL_ERROR "Unable to find OSRSetEquirectangular2 within GDAL library at ${GDAL_INCLUDE_DIR} ${GDAL_LIBRARY}")
         else()
             include_directories(${GDAL_INCLUDE_DIR})
             add_definitions(-DHAVE_GDAL=1)


More information about the Liblas-commits mailing list