mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00
38 lines
890 B
CMake
38 lines
890 B
CMake
|
|
########### next target ###############
|
|
|
|
set(lsofui_LIB_SRCS
|
|
lsof.cpp
|
|
LsofSearchWidget.ui
|
|
)
|
|
|
|
add_library(lsofui SHARED ${lsofui_LIB_SRCS})
|
|
|
|
target_link_libraries(lsofui ${KDE4_KIO_LIBS} )
|
|
set_target_properties(lsofui PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
install(
|
|
TARGETS lsofui
|
|
EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
)
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
FILES lsof.h
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
|
COMPONENT Devel
|
|
)
|
|
|
|
kde4_add_widget(ksysguardlsofwidgets_SRCS ksysguardlsof.widgets)
|
|
|
|
kde4_add_plugin(ksysguardlsofwidgets ${ksysguardlsofwidgets_SRCS})
|
|
|
|
target_link_libraries(ksysguardlsofwidgets ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} lsofui)
|
|
|
|
install(
|
|
TARGETS ksysguardlsofwidgets
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}/plugins/designer
|
|
)
|