[Liblas-commits] hg: turn off OSRSetEquirectangular2 detection again

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Dec 23 12:46:58 EST 2010


changeset 96d4bc513ec7 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=96d4bc513ec7
summary: turn off OSRSetEquirectangular2 detection again

diffstat:

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

diffs (40 lines):

diff -r 03638495ca22 -r 96d4bc513ec7 CMakeLists.txt
--- a/CMakeLists.txt	Wed Dec 22 14:35:07 2010 -0800
+++ b/CMakeLists.txt	Thu Dec 23 11:46:48 2010 -0600
@@ -195,22 +195,22 @@
 
   find_package(GDAL 1.6.0)
 
-  if(GDAL_FOUND)
-    # Confirm required API is available
-    include(CheckFunctionExists) 
-    set(CMAKE_REQUIRED_LIBRARIES ${GDAL_LIBRARY})
-    check_function_exists(OSRSetEquirectangular2 HAVE_OSRSETEQUIRECTANGULAR2)
-    
-    if(NOT HAVE_OSRSETEQUIRECTANGULAR2)
-      # Reset to NOT found for GDAL/OGR
-      set(GDAL_FOUND)
-      message(FATAL_ERROR
-        "Unable to find OSRSetEquirectangular2 within GDAL library at ${GDAL_INCLUDE_DIR} ${GDAL_LIBRARY}")
-    else()
+  # if(GDAL_FOUND)
+  #   # Confirm required API is available
+  #   include(CheckFunctionExists) 
+  #   set(CMAKE_REQUIRED_LIBRARIES ${GDAL_LIBRARY})
+  #   check_function_exists(OSRSetEquirectangular2 HAVE_OSRSETEQUIRECTANGULAR2)
+  #   
+  #   if(NOT HAVE_OSRSETEQUIRECTANGULAR2)
+  #     # Reset to NOT found for GDAL/OGR
+  #     set(GDAL_FOUND)
+  #     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)
-    endif()
-  endif()
+  #   endif()
+  # endif()
 
   mark_as_advanced(CLEAR GDAL_INCLUDE_DIR) 
   mark_as_advanced(CLEAR GDAL_LIBRARY) 


More information about the Liblas-commits mailing list