kde-workspace/kioslave/CMakeLists.txt

65 lines
1.8 KiB
Text
Raw Normal View History

2014-11-15 04:16:00 +02:00
# we need a version of samba which has already smbc_set_context(), Alex
set(SAMBA_REQUIRE_SMBC_SET_CONTEXT TRUE)
set(SAMBA_REQUIRE_SMBC_OPTION_SET TRUE)
macro_optional_find_package(Samba)
2015-09-06 14:39:32 +03:00
set_package_properties(Samba PROPERTIES
DESCRIPTION "the SMB client library, a version with smbc_set_context() and smbc_option_set()"
URL "http://www.samba.org"
TYPE OPTIONAL
PURPOSE "Needed to build the SMB kioslave"
)
2014-11-15 04:16:00 +02:00
macro_optional_find_package(LibSSH 0.6.0)
2015-09-06 14:39:32 +03:00
set_package_properties(LibSSH PROPERTIES
DESCRIPTION "the SSH library with SFTP support"
URL "http://www.libssh.org/"
TYPE OPTIONAL
PURPOSE "Needed to build the SFTP kioslave"
)
2014-11-15 04:16:00 +02:00
macro_optional_find_package(Mtp 1.1.2)
2015-09-06 14:39:32 +03:00
set_package_properties(Mtp PROPERTIES
DESCRIPTION "the library implementation of the Media Transfer Protocol"
URL "http://libmtp.sourceforge.net/"
TYPE OPTIONAL
PURPOSE "Needed to build the MTP kioslave"
)
2014-11-19 01:03:24 +00:00
2014-11-15 04:16:00 +02:00
add_subdirectory( about )
add_subdirectory( bookmarks )
add_subdirectory( cgi )
add_subdirectory( filter )
add_subdirectory( info )
add_subdirectory( archive )
add_subdirectory( settings )
add_subdirectory( applications )
add_subdirectory( trash )
add_subdirectory( man )
2014-11-15 04:16:00 +02:00
add_subdirectory( network )
add_subdirectory( remote )
add_subdirectory( desktop )
add_subdirectory( recentdocuments )
add_subdirectory( fish )
add_subdirectory( thumbnail )
if (LIBSSH_FOUND)
add_subdirectory(sftp)
2015-09-06 14:39:32 +03:00
endif()
2014-11-19 01:03:24 +00:00
if (MTP_FOUND)
add_subdirectory(mtp)
2015-09-06 14:39:32 +03:00
endif()
2014-11-15 04:16:00 +02:00
2014-11-15 05:21:19 +02:00
add_subdirectory( floppy )
add_subdirectory( finger )
check_include_files(rpc/rpc.h HAVE_RPC_RPC_H)
add_feature_info("NFS kioslave" HAVE_RPC_RPC_H "The RPC library is needed to build the NFS kioslave")
if(HAVE_RPC_RPC_H)
2015-09-06 14:39:32 +03:00
add_subdirectory(nfs)
endif()
2014-11-15 04:16:00 +02:00
2014-11-15 05:21:19 +02:00
if(SAMBA_FOUND)
2014-11-15 04:16:00 +02:00
add_subdirectory(smb)
2015-09-06 14:39:32 +03:00
endif()
2014-11-15 04:16:00 +02:00
2015-09-06 14:39:32 +03:00
# add_subdirectory(audiocd)