summaryrefslogtreecommitdiffstats
path: root/tdeioslave/smb
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-06-02 16:15:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-06-02 16:15:43 +0200
commitcd36da20761945fc2e222c56e3cd84f3bd259efd (patch)
tree064458fe5d5bf059f6c8c5cd0c261f606dc6a1e4 /tdeioslave/smb
parente51435e449ffc840e0dfc16e6c8c2e1667230072 (diff)
downloadtdebase-cd36da20761945fc2e222c56e3cd84f3bd259efd.tar.gz
tdebase-cd36da20761945fc2e222c56e3cd84f3bd259efd.zip
Fix build with smbclient in a samba specific directory
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 50d21388fb27b915d32b406fac9e587b632413e8)
Diffstat (limited to 'tdeioslave/smb')
-rw-r--r--tdeioslave/smb/CMakeLists.txt1
-rw-r--r--tdeioslave/smb/ConfigureChecks.cmake2
2 files changed, 2 insertions, 1 deletions
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 )