[Liblas-commits] hg: [cmake] Comments and cosmetics (#52)

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Sep 28 19:36:31 EDT 2009


changeset ea3f319afd55 in /home/www/liblas.org/hg
details: http://hg.liblas.org/main/hg?cmd=changeset;node=ea3f319afd55
summary: [cmake] Comments and cosmetics (#52)

diffstat:

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

diffs (22 lines):

diff -r 246d96e3395a -r ea3f319afd55 CMakeLists.txt
--- a/CMakeLists.txt	Tue Sep 29 00:00:06 2009 +0100
+++ b/CMakeLists.txt	Tue Sep 29 00:36:19 2009 +0100
@@ -100,6 +100,7 @@
 
     IF(GEOTIFF_FOUND)
     
+        # Confirm required API is available
         INCLUDE(CheckFunctionExists) 
         SET(CMAKE_REQUIRED_LIBRARIES ${GEOTIFF_LIBRARY})
         CHECK_FUNCTION_EXISTS(ST_Create HAVE_ST_CREATE)
@@ -111,8 +112,8 @@
             INCLUDE_DIRECTORIES(${GEOTIFF_INCLUDE_DIR})
             ADD_DEFINITIONS(-DHAVE_LIBGEOTIFF=1)
         ENDIF()
-    ENDIF()
-ENDIF()
+    ENDIF(GEOTIFF_FOUND)
+ENDIF(WITH_GEOTIFF)
 
 # GDAL/OGR support - optional, default=OFF
 SET(WITH_GDAL FALSE CACHE BOOL "Choose if GDAL support should be built")


More information about the Liblas-commits mailing list