Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix GDAL discover on non-Apple
git-svn-id: http://svn.osgeo.org/qgis/trunk@6692 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Feb 24, 2007
1 parent a3181a3 commit 297fe1d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmake/FindGDAL.cmake
Expand Up @@ -75,8 +75,8 @@ ELSE(WIN32)

IF (APPLE)
SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.dylib CACHE STRING INTERNAL)
ELSEIF (APPLE)
SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.so CACHE STRING INTERNAL)
ELSE (APPLE)
SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.so CACHE STRING INTERNAL)
ENDIF (APPLE)

ELSE(GDAL_CONFIG)
Expand All @@ -99,8 +99,8 @@ IF (GDAL_FOUND)

ELSE (GDAL_FOUND)

IF (GDAL_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find GDAL")
ENDIF (GDAL_FIND_REQUIRED)
MESSAGE(GDAL_INCLUDE_DIR=${GDAL_INCLUDE_DIR})
MESSAGE(GDAL_LIBRARY=${GDAL_LIBRARY})
MESSAGE(FATAL_ERROR "Could not find GDAL")

ENDIF (GDAL_FOUND)

0 comments on commit 297fe1d

Please sign in to comment.