diff options
author | Allen Winter <winter@kde.org> | 2008-02-27 20:48:40 +0000 |
---|---|---|
committer | Allen Winter <winter@kde.org> | 2008-02-27 20:48:40 +0000 |
commit | e19837dece1f0ad9f336098515787c713de99d7b (patch) | |
tree | 3c82ff2a88d67cecb5d86a0e9c8ec3923c9552a0 | |
parent | 3ed92d37ac647115b9730464181fbadf6d68bcfc (diff) | |
download | extra-cmake-modules-e19837dece1f0ad9f336098515787c713de99d7b.tar.gz extra-cmake-modules-e19837dece1f0ad9f336098515787c713de99d7b.tar.bz2 |
fix Samba discovery and usage
thanks for the patch Christopher.
BUGS: 158335
svn path=/trunk/KDE/kdelibs/; revision=780025
-rw-r--r-- | modules/FindSamba.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/FindSamba.cmake b/modules/FindSamba.cmake index 08c0fee3..6579d121 100644 --- a/modules/FindSamba.cmake +++ b/modules/FindSamba.cmake @@ -29,6 +29,7 @@ if(SAMBA_INCLUDE_DIR AND SAMBA_LIBRARIES) include(MacroPushRequiredVars) macro_push_required_vars() set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${SAMBA_LIBRARIES}) + set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${SAMBA_INCLUDE_DIR}) check_symbol_exists(smbc_set_context "libsmbclient.h" SAMBA_HAVE_SMBC_SET_CONTEXT) macro_pop_required_vars() # fail if smbc_set_context() was required but hasn't been found |