Skip to content

Commit

Permalink
Include libldap, if PostgreSQL was built with LDAP support.
Browse files Browse the repository at this point in the history
  • Loading branch information
asheshv authored and dpage committed Feb 3, 2012
1 parent ea61b13 commit c2bce99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/FindPG.cmake
Expand Up @@ -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)
Expand Down

0 comments on commit c2bce99

Please sign in to comment.