From 50d21388fb27b915d32b406fac9e587b632413e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 2 Jun 2017 16:15:34 +0200 Subject: Fix build with smbclient in a samba specific directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdeioslave/smb/CMakeLists.txt | 1 + tdeioslave/smb/ConfigureChecks.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tdeioslave/smb') diff --git a/tdeioslave/smb/CMakeLists.txt b/tdeioslave/smb/CMakeLists.txt index 23cc1f000..c347c997d 100644 --- a/tdeioslave/smb/CMakeLists.txt +++ b/tdeioslave/smb/CMakeLists.txt @@ -21,6 +21,7 @@ include_directories( link_directories( ${TQT_LIBRARY_DIRS} + ${SMBCLIENT_LIBRARY_DIRS} ) 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 ) -- cgit v1.2.1