1
find_package(KDE4 REQUIRED)
4
include(MacroOptionalAddSubdirectory)
6
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
8
include_directories ( ${KOPETE_INCLUDES} )
10
#add_subdirectory ( tests )
12
########### next target ###############
14
set (kopete_pipes_PART_SRCS
18
kde4_add_plugin( kopete_pipes ${kopete_pipes_PART_SRCS})
20
target_link_libraries( kopete_pipes ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS} kopete )
22
install( TARGETS kopete_pipes DESTINATION ${PLUGIN_INSTALL_DIR})
25
########### next target ###############
27
set ( kcm_kopete_pipes_PART_SRCS
33
kde4_add_ui_files( kcm_kopete_pipes_PART_SRCS pipesprefsbase.ui )
35
kde4_add_plugin( kcm_kopete_pipes ${kcm_kopete_pipes_PART_SRCS} )
37
target_link_libraries( kcm_kopete_pipes ${KDE4_KUTILS_LIBS} ${KDE4_KIO_LIBS} kopete )
39
install( TARGETS kcm_kopete_pipes DESTINATION ${PLUGIN_INSTALL_DIR} )
41
########### install files ###############
42
install( FILES kopete_pipes.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
43
install( FILES kopete_pipes_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog )