Package: kio-ftps
Version:  0.2
Severity:  serious

The available CmakeLists.txt is only for KDE 4.1, this patch updates the 
CMakeLists.txt to build on KDE 4.2


-- 
Steve Stalcup
vor...@ubuntu.com
# this patch updates the CMakeLists.txt to build for KDE 4.2

diff -Nurp kio-ftps-0.2/CMakeLists.txt kio-ftps-0.2/CMakeLists.txt
--- kio-ftps-0.2/CMakeLists.txt	2008-02-17 17:03:38.000000000 -0500
+++ kio-ftps-0.2/CMakeLists.txt	2009-02-15 09:11:10.000000000 -0500
@@ -4,11 +4,11 @@ find_package(KDE4 REQUIRED)
 
 include_directories( ${KDE4_INCLUDES} )
 
-set(mySources ftp.cpp)
+set(SRCS_KIO-FTPS ftp.cpp)
 
-kde4_add_plugin( kio_ftps ${mySources} )
+kde4_add_plugin( kio_ftps ${SRCS_KIO-FTPS} )
 
-target_link_libraries(kio_ftps ${KDE4_KDECORE_LIBS} kio )
+target_link_libraries(kio_ftps ${KDE4_KDECORE_LIBS} ${KDE4_KIO_LIBS} ${QT_QTNETWORK_LIBRARY})
 
 install(TARGETS kio_ftps  DESTINATION ${PLUGIN_INSTALL_DIR} )
 install( FILES ftps.protocol  DESTINATION  ${SERVICES_INSTALL_DIR} )

Reply via email to