Commit 73e4c01e authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Use a static library for comicprovider core lib

parent 33a5b6f1
......@@ -44,17 +44,12 @@ set(comic_provider_core_SRCS
${LOGGING_SRCS}
)
add_library(plasmacomicprovidercore SHARED ${comic_provider_core_SRCS})
generate_export_header(plasmacomicprovidercore EXPORT_FILE_NAME plasma_comic_export.h EXPORT_MACRO_NAME PLASMA_COMIC_EXPORT)
add_library(plasmacomicprovidercore STATIC ${comic_provider_core_SRCS})
target_link_libraries(plasmacomicprovidercore
KF5::WidgetsAddons
KF5::KIOCore
KF5::I18n
)
set_target_properties(plasmacomicprovidercore PROPERTIES VERSION 1.0.0 SOVERSION 1)
install( TARGETS plasmacomicprovidercore ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP )
########### kross ###############
......
......@@ -7,7 +7,6 @@
#ifndef COMICPROVIDER_H
#define COMICPROVIDER_H
#include "plasma_comic_export.h"
#include <KPluginMetaData>
#include <QDate>
#include <QObject>
......@@ -18,7 +17,7 @@ class QUrl;
/**
* This class is an interface for comic providers.
*/
class PLASMA_COMIC_EXPORT ComicProvider : public QObject
class ComicProvider : public QObject
{
Q_OBJECT
......
Supports Markdown
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