Fix build with smbclient in a samba specific directory

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 7 years ago
parent d7b8615289
commit 50d21388fb

@ -21,6 +21,7 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
${SMBCLIENT_LIBRARY_DIRS}
)

@ -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 )

Loading…
Cancel
Save