Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 74 | if(NOT WIN32) | |||
---|---|---|---|---|---|
78 | find_package(Samba) | 78 | find_package(Samba) | ||
79 | set_package_properties(Samba PROPERTIES DESCRIPTION "the SMB client library, a version with smbc_set_context() and smbc_option_set()" | 79 | set_package_properties(Samba PROPERTIES DESCRIPTION "the SMB client library, a version with smbc_set_context() and smbc_option_set()" | ||
80 | URL "http://www.samba.org" | 80 | URL "http://www.samba.org" | ||
81 | TYPE OPTIONAL | 81 | TYPE OPTIONAL | ||
82 | PURPOSE "Needed to build the SMB kioslave" | 82 | PURPOSE "Needed to build the SMB kioslave" | ||
83 | ) | 83 | ) | ||
84 | endif() | 84 | endif() | ||
85 | 85 | | |||
86 | find_package(LibSSH 0.6.0) | 86 | find_package(libssh 0.8.3) | ||
87 | set_package_properties(LibSSH PROPERTIES DESCRIPTION "the SSH library with SFTP support" | 87 | set_package_properties(LibSSH PROPERTIES DESCRIPTION "the SSH library with SFTP support" | ||
88 | URL "http://www.libssh.org/" | 88 | URL "http://www.libssh.org/" | ||
89 | TYPE OPTIONAL | 89 | TYPE OPTIONAL | ||
90 | PURPOSE "Needed to build the SFTP kioslave" | 90 | PURPOSE "Needed to build the SFTP kioslave" | ||
91 | ) | 91 | ) | ||
92 | 92 | | |||
93 | find_package(Mtp) | 93 | find_package(Mtp) | ||
94 | set_package_properties(Mtp PROPERTIES DESCRIPTION "the MTP library" | 94 | set_package_properties(Mtp PROPERTIES DESCRIPTION "the MTP library" | ||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | |||||
152 | add_subdirectory( recentdocuments ) | 152 | add_subdirectory( recentdocuments ) | ||
153 | if (NOT WIN32) | 153 | if (NOT WIN32) | ||
154 | # does not compile: fish.cpp(41): fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory | 154 | # does not compile: fish.cpp(41): fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory | ||
155 | # Used for getting the resource limit for closing all child process FDs. Could be completely replaced by fcloseall() if available for Unix or _fcloseall() for Windows, either conditionally on Q_OS_type or using a configure test. | 155 | # Used for getting the resource limit for closing all child process FDs. Could be completely replaced by fcloseall() if available for Unix or _fcloseall() for Windows, either conditionally on Q_OS_type or using a configure test. | ||
156 | add_subdirectory( fish ) | 156 | add_subdirectory( fish ) | ||
157 | endif() | 157 | endif() | ||
158 | add_subdirectory( thumbnail ) | 158 | add_subdirectory( thumbnail ) | ||
159 | add_subdirectory( docfilter ) | 159 | add_subdirectory( docfilter ) | ||
160 | if (NOT WIN32 AND LIBSSH_FOUND) | 160 | if (LIBSSH_LIBRARY AND HAVE_UTIME_H) | ||
161 | # does not compile on Windows: kio_sftp.cpp(28): fatal error C1083: Cannot open include file: 'utime.h': No such file or directory | 161 | # does not compile on Windows: kio_sftp.cpp(28): fatal error C1083: Cannot open include file: 'utime.h': No such file or directory | ||
162 | add_subdirectory(sftp) | 162 | add_subdirectory(sftp) | ||
163 | endif () | 163 | endif () | ||
164 | add_subdirectory(settings) | 164 | add_subdirectory(settings) | ||
165 | add_subdirectory( filenamesearch ) | 165 | add_subdirectory( filenamesearch ) | ||
166 | if (MTP_FOUND) | 166 | if (MTP_FOUND) | ||
167 | add_subdirectory(mtp) | 167 | add_subdirectory(mtp) | ||
168 | endif() | 168 | endif() | ||
Show All 21 Lines |