summaryrefslogtreecommitdiffstats
path: root/tdeioslave/smb/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-06-02 16:15:34 +0200
committerSlávek Banko <[email protected]>2017-06-02 16:15:34 +0200
commit50d21388fb27b915d32b406fac9e587b632413e8 (patch)
treeef87f4a336feabbfb7b6c7020f151783b6046d01 /tdeioslave/smb/ConfigureChecks.cmake
parentd7b8615289da74c47c996b050123d029e5e96045 (diff)
downloadtdebase-50d21388fb27b915d32b406fac9e587b632413e8.tar.gz
tdebase-50d21388fb27b915d32b406fac9e587b632413e8.zip
Fix build with smbclient in a samba specific directory
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdeioslave/smb/ConfigureChecks.cmake')
-rw-r--r--tdeioslave/smb/ConfigureChecks.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/smb/ConfigureChecks.cmake b/tdeioslave/smb/ConfigureChecks.cmake
index da4d1a942..08eda7341 100644
--- a/tdeioslave/smb/ConfigureChecks.cmake
+++ b/tdeioslave/smb/ConfigureChecks.cmake
@@ -18,7 +18,7 @@ endif( )
if( HAVE_LIBSMBCLIENT_H )
set( SMBCLIENT_LIBRARIES smbclient )
- check_library_exists( ${SMBCLIENT_LIBRARIES} smbc_new_context "" HAVE_SMBCLIENT )
+ check_library_exists( ${SMBCLIENT_LIBRARIES} smbc_new_context "${SMBCLIENT_LIBRARY_DIRS}" HAVE_SMBCLIENT )
endif( )
if( NOT HAVE_LIBSMBCLIENT_H OR NOT HAVE_SMBCLIENT )