kdelibs/kioslave/curl/CMakeLists.txt
Ivailo Monev a5132853b0 kioslave: reimplement ftp and sftp slaves via curl
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>
2024-03-17 00:48:01 +02:00

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