2d3c925c45
See http://blog.qgis.org/node/146 for details on this release.
17 lines
827 B
Plaintext
17 lines
827 B
Plaintext
$OpenBSD: patch-cmake_FindGDAL_cmake,v 1.2 2010/12/08 09:07:48 landry Exp $
|
|
--- cmake/FindGDAL.cmake.orig Mon Nov 29 17:53:59 2010
|
|
+++ cmake/FindGDAL.cmake Mon Nov 29 17:54:19 2010
|
|
@@ -134,11 +134,7 @@ ELSE(WIN32)
|
|
STRING(REGEX REPLACE "[-][l]" "" GDAL_LIB_NAME ${GDAL_LIB_NAME_WITH_PREFIX} )
|
|
ENDIF (GDAL_LIB_NAME_WITH_PREFIX)
|
|
|
|
- IF (APPLE)
|
|
- SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.dylib CACHE STRING INTERNAL)
|
|
- ELSE (APPLE)
|
|
- SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.so CACHE STRING INTERNAL)
|
|
- ENDIF (APPLE)
|
|
+ FIND_LIBRARY(GDAL_LIBRARY NAMES gdal PATHS ${LOCALBASE}/lib)
|
|
|
|
ELSE(GDAL_CONFIG)
|
|
MESSAGE("FindGDAL.cmake: gdal-config not found. Please set it manually. GDAL_CONFIG=${GDAL_CONFIG}")
|