Warning, /network/smb4k/cmake/FindLibsmbclient.cmake is written in an unsupported language. File is not indexed.

0001 #
0002 # Find libsmbclient.h and libsmbclient.so from Samba 4.
0003 #
0004 # This file is in the public domain.
0005 #
0006 
0007 # Find the include file
0008 find_path(LIBSMBCLIENT_INCLUDE_DIR NAMES libsmbclient.h PATH_SUFFIXES samba-4.0 samba4)
0009 
0010 # Find the library
0011 find_library(LIBSMBCLIENT_LIBRARY NAMES smbclient libsmbclient PATH_SUFFIXES samba4)
0012 
0013 # Handle the arguments
0014 include(FindPackageHandleStandardArgs)
0015 find_package_handle_standard_args(Libsmbclient DEFAULT_MSG LIBSMBCLIENT_LIBRARY LIBSMBCLIENT_INCLUDE_DIR)
0016 
0017 # Mark as advanced
0018 mark_as_advanced(LIBSMBCLIENT_LIBRARY LIBSMBCLIENT_INCLUDE_DIR)
0019 
0020 # Set variables
0021 set(LIBSMBCLIENT_LIBRARIES ${LIBSMBCLIENT_LIBRARY})
0022 set(LIBSMBCLIENT_INCLUDE_DIRS ${LIBSMBCLIENT_INCLUDE_DIR})
0023 
0024