Pulleyback: add commit() and rollback() to instance methods.
[steamworks] / cmake / FindOpenLDAP.cmake
1 # Copyright (c) 2014, 2015 InternetWide.org and the ARPA2.net project
2 # All rights reserved. See file LICENSE for exact terms (2-clause BSD license).
3 #
4 # Adriaan de Groot <groot@kde.org>
5
6 # Try to find OpenLDAP client libraries. Sets standard variables
7 # OpenLDAP_LIBRARIES and OpenLDAP_INCLUDE_DIRS.
8 #
9 include(FindPackageHandleStandardArgs)
10
11 find_library(_LDAP ldap)
12 if (_LDAP)
13   set(OpenLDAP_LIBRARIES ${_LDAP})
14 endif()
15
16 find_library(_LBER lber)
17 if (_LBER)
18   set(OpenLDAP_BER_LIBRARIES ${_LBER})
19 endif()
20
21 find_path(OpenLDAP_INCLUDE_DIRS ldap.h)
22
23 find_package_handle_standard_args(OpenLDAP 
24   REQUIRED_VARS OpenLDAP_LIBRARIES OpenLDAP_INCLUDE_DIRS)
25