Permalink
Browse files

Include libldap, if PostgreSQL was built with LDAP support.

  • Loading branch information...
1 parent ea61b13 commit c2bce99381b1530e7948394d738debe8d181ee91 @asheshv asheshv committed with dpage Feb 3, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 cmake/FindPG.cmake
View
4 cmake/FindPG.cmake
@@ -91,6 +91,10 @@ IF(NOT _retval)
LIST(APPEND PG_LIBRARIES "krb5")
ENDIF(_op MATCHES "krb5_free_principal")
+ IF(_op MATCHES "ldap_init")
+ LIST(APPEND PG_LIBRARIES "ldap")
+ ENDIF(_op MATCHES "ldap_init")
+
LIST(APPEND PG_LIBRARIES "crypto")
IF(NOT APPLE)

0 comments on commit c2bce99

Please sign in to comment.