Commit fa067541 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

remove unnecessary dependency

parent 3ddbc351
......@@ -46,14 +46,6 @@ set_package_properties(Qt5WebChannel PROPERTIES
find_package(KF5 REQUIRED COMPONENTS CoreAddons Config I18n JobWidgets WindowSystem Completion Auth WidgetsAddons IconThemes ConfigWidgets Service GlobalAccel KIO Package Declarative NewStuff)
find_package(KF5 OPTIONAL_COMPONENTS Plasma)
set_package_properties(KF5Plasma PROPERTIES
URL "https://cgit.kde.org/plasma-framework.git/"
DESCRIPTION "The library of the plasma project"
TYPE OPTIONAL
PURPOSE "Used by signalplotter to use Plasma themes"
)
find_package(ZLIB REQUIRED)
set_package_properties(ZLIB PROPERTIES DESCRIPTION "Support for gzip compressed files and data streams"
URL "http://www.zlib.net"
......@@ -113,10 +105,7 @@ add_subdirectory( processcore )
add_subdirectory( processui )
add_subdirectory( sensors )
add_subdirectory( faces )
if (KF5Plasma_FOUND)
add_subdirectory( signalplotter )
endif()
add_subdirectory( signalplotter )
add_subdirectory( ksgrd )
if(BUILD_TESTING)
......
......@@ -16,7 +16,6 @@ target_link_libraries(ksignalplotter
KF5::IconThemes
PRIVATE
KSysGuard::ProcessCore
KF5::Plasma
)
set_target_properties(ksignalplotter
......
......@@ -42,7 +42,6 @@
#ifdef GRAPHICS_SIGNAL_PLOTTER
#include <QGraphicsSceneResizeEvent>
#include <QStyleOptionGraphicsItem>
#include <Plasma/Theme>
#endif
#include <klocalizedstring.h>
......@@ -52,6 +51,7 @@
#ifdef SVG_SUPPORT
#include <Plasma/Svg>
#include <Plasma/Theme>
#endif
......
......@@ -24,7 +24,9 @@
//#define USE_QIMAGE
// SVG support causes it to crash at the moment :(
// (when re-enabling this remember to also link against plasma-framework)
//#define SVG_SUPPORT
// Use a separate child widget to draw the graph in
#ifndef KSYSGUARD_KSIGNALPLOTTER_P_H
#define KSYSGUARD_KSIGNALPLOTTER_P_H
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment