2d3c925c45
See http://blog.qgis.org/node/146 for details on this release.
17 lines
656 B
Plaintext
17 lines
656 B
Plaintext
$OpenBSD: patch-cmake_FindPostgres_cmake,v 1.3 2010/12/08 09:07:48 landry Exp $
|
|
--- cmake/FindPostgres.cmake.orig Sat Oct 16 16:52:43 2010
|
|
+++ cmake/FindPostgres.cmake Mon Nov 29 17:31:37 2010
|
|
@@ -57,11 +57,7 @@ ELSE(WIN32)
|
|
EXEC_PROGRAM(${POSTGRES_CONFIG}
|
|
ARGS --libdir
|
|
OUTPUT_VARIABLE PG_TMP)
|
|
- IF (APPLE)
|
|
- SET(POSTGRES_LIBRARY ${PG_TMP}/libpq.dylib CACHE STRING INTERNAL)
|
|
- ELSE (APPLE)
|
|
- SET(POSTGRES_LIBRARY ${PG_TMP}/libpq.so CACHE STRING INTERNAL)
|
|
- ENDIF (APPLE)
|
|
+ FIND_LIBRARY(POSTGRES_LIBRARY NAMES pq libpq libpqdll PATHS ${LOCALBASE}/lib)
|
|
ENDIF(POSTGRES_CONFIG)
|
|
|
|
ENDIF(UNIX)
|