afa5a71b2d
QGIS aims to be an easy to use GIS, providing common functions and features. The initial goal was to provide a GIS data viewer, but now it also permits to edit, create and analyze lots of spatial datas. QGIS supports a number of raster and vector data formats, with new support easily added using the plugin architecture. with some tweaks by and ok ajacoutot@
17 lines
810 B
Plaintext
17 lines
810 B
Plaintext
$OpenBSD: patch-cmake_FindGDAL_cmake,v 1.1.1.1 2009/06/01 23:14:58 landry Exp $
|
|
--- cmake/FindGDAL.cmake.orig Sun May 31 10:52:56 2009
|
|
+++ cmake/FindGDAL.cmake Sun May 31 10:54:43 2009
|
|
@@ -118,11 +118,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}")
|