[Liblas-commits] hg: Fixed incorrect use of SET command in
CMakeLists.txt
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Dec 30 22:03:46 EST 2009
changeset 008dd83b4d5d in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=008dd83b4d5d
summary: Fixed incorrect use of SET command in CMakeLists.txt
diffstat:
CMakeLists.txt | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 3e2aa2eb7cb4 -r 008dd83b4d5d CMakeLists.txt
--- a/CMakeLists.txt Thu Dec 31 02:12:19 2009 +0000
+++ b/CMakeLists.txt Thu Dec 31 03:03:19 2009 +0000
@@ -169,8 +169,9 @@
CHECK_FUNCTION_EXISTS(OSRSetEquirectangular2 HAVE_OSRSETEQUIRECTANGULAR2)
IF(NOT HAVE_OSRSETEQUIRECTANGULAR2)
- GDALSET(_FOUND) # Reset to NOT found for GDAL/OGR
- MESSAGE(FATAL_ERROR "GDAL support requires GDAL 1.6.0 or newer.")
+ # Reset to NOT found for GDAL/OGR
+ SET(GDAL_FOUND)
+ MESSAGE(FATAL_ERROR "GDAL support requires GDAL 1.6.0 or newer")
ELSE()
INCLUDE_DIRECTORIES(${GDAL_INCLUDE_DIR})
ADD_DEFINITIONS(-DHAVE_GDAL=1)
More information about the Liblas-commits
mailing list