mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 19:02:51 +00:00

for the reference to QCustomWidget, fixes loading of the plugins Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
39 lines
915 B
CMake
39 lines
915 B
CMake
set(ksignalplotter_LIB_SRCS
|
|
ksignalplotter.cpp
|
|
)
|
|
|
|
add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
|
|
target_link_libraries(ksignalplotter PUBLIC KDE4::kdeui)
|
|
|
|
set_target_properties(ksignalplotter
|
|
PROPERTIES VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
|
|
install(
|
|
TARGETS ksignalplotter
|
|
EXPORT kdeworkspaceTargets
|
|
DESTINATION ${KDE4_LIB_INSTALL_DIR}
|
|
)
|
|
|
|
#----------------------
|
|
|
|
kde4_add_widget(ksignalplotterwidgets_SRCS ksignalplotter.widgets)
|
|
|
|
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_SRCS} ${ksignalplotterwidgets_PART_SRCS})
|
|
|
|
target_link_libraries(ksignalplotterwidgets
|
|
KDE4::kdeui
|
|
${QT_QTUITOOLS_LIBRARY}
|
|
ksignalplotter
|
|
)
|
|
|
|
install(
|
|
TARGETS ksignalplotterwidgets
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}/plugins/designer
|
|
)
|
|
|
|
install(
|
|
FILES ksignalplotter.h
|
|
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
|
|
)
|