mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00

the sftp KIO slave is in the kde-workspace repo and the module for finding libssh was for it. tested ftp and sftp - both work with user and password authentication as intended (in read-only mode, put() not implemented) Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
25 lines
486 B
CMake
25 lines
486 B
CMake
project(kioslave-curl)
|
|
|
|
include_directories(
|
|
${KDE4_KIO_INCLUDES}
|
|
${CURL_INCLUDE_DIRS}
|
|
)
|
|
|
|
########### next target ###############
|
|
|
|
add_executable(kio_curl kio_curl.cpp)
|
|
|
|
target_link_libraries(kio_curl
|
|
${CURL_LIBRARIES}
|
|
kdecore
|
|
kio
|
|
)
|
|
|
|
install(TARGETS kio_curl DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR})
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
FILES http.protocol https.protocol ftp.protocol sftp.protocol
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
)
|