Commit 4ceaef65 authored by Julien Wadel's avatar Julien Wadel
Browse files

Fix library finding with lib prefix

parent 598a45ac
......@@ -41,26 +41,26 @@ find_path(OPENLDAP_INCLUDE_DIRS
#LDAP
find_library(LDAP_LIB
NAMES ldap
NAMES ldap libldap
HINTS "${CMAKE_INSTALL_PREFIX}"
PATH_SUFFIXES lib
NO_DEFAULT_PATH
)
find_library(LDAP_LIB
NAMES ldap
NAMES ldap libldap
HINTS "${CMAKE_INSTALL_PREFIX}"
PATH_SUFFIXES lib
)
#LBER
find_library(LBER_LIB
NAMES lber
NAMES lber liblber
HINTS "${CMAKE_INSTALL_PREFIX}"
PATH_SUFFIXES lib
NO_DEFAULT_PATH
)
find_library(LBER_LIB
NAMES lber
NAMES lber liblber
HINTS "${CMAKE_INSTALL_PREFIX}"
PATH_SUFFIXES lib
)
......
......@@ -313,6 +313,10 @@ endif()
set(LINPHONE_CXX_OBJECTS_SOURCE_FILES
account/account.cpp
account/account-params.cpp
account_creator/utils.cpp
account_creator/service.cpp
account_creator/main.cpp
account_creator/connector_xmlrpc.cpp
address/address.cpp
address/identity-address.cpp
address/identity-address-parser.cpp
......@@ -352,12 +356,6 @@ set(LINPHONE_CXX_OBJECTS_SOURCE_FILES
c-wrapper/api/c-search-result.cpp
c-wrapper/internal/c-sal.cpp
c-wrapper/internal/c-tools.cpp
account_creator/utils.cpp
account_creator/service.cpp
account_creator/main.cpp
account_creator/connector_xmlrpc.cpp
call/call.cpp
chat/chat-message/chat-message.cpp
chat/chat-message/imdn-message.cpp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment