kdelibs/kioslave/http/CMakeLists.txt
Ivailo Monev 6f85921337 generic: replace custom Curl module with CMake provided one
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-03-29 16:20:59 +03:00

25 lines
497 B
CMake

project(kioslave-http)
include_directories(
${KDE4_KIO_INCLUDES}
${CURL_INCLUDE_DIRS}
)
########### next target ###############
kde4_add_plugin(kio_http http.cpp khttpheader.cpp)
target_link_libraries(kio_http
${KDE4_KDECORE_LIBS}
${KDE4_KIO_LIBS}
${CURL_LIBRARIES}
)
install(TARGETS kio_http DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
########### install files ###############
install(
FILES http.protocol https.protocol
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)