2 ########### next target ###############
8 kde4_add_ui_files( lsofui_LIB_SRCS
12 kde4_add_library(lsofui SHARED ${lsofui_LIB_SRCS})
14 target_link_libraries(lsofui ${KDE4_KIO_LIBS} )
15 set_target_properties(lsofui PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
16 install(TARGETS lsofui EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
18 ########### install files ###############
20 install( FILES lsof.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksysguard COMPONENT Devel)
22 set(ksysguardlsofwidgets_PART_SRCS
23 ${CMAKE_CURRENT_BINARY_DIR}/ksysguardlsofwidgets.cpp
26 kde4_add_widget_files(${ksysguardlsofwidgets_PART_SRCS} ksysguardlsof.widgets)
28 kde4_add_plugin(ksysguardlsofwidgets ${ksysguardlsofwidgets_PART_SRCS})
30 target_link_libraries(ksysguardlsofwidgets ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} lsofui)
32 install(TARGETS ksysguardlsofwidgets DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer )