Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5afd06bc authored by Laurent Montel's avatar Laurent Montel 😁

Compile plugin

parent e7b2be23
set(shorturlpluginprivate_SRCS
shorturlengineplugin/shorturlengineinterface.cpp
shorturlengineplugin/shorturlengineplugin.cpp
)
add_library(shorturlpluginprivate ${shorturlpluginprivate_SRCS})
generate_export_header(shorturlpluginprivate BASE_NAME shorturl)
target_link_libraries(shorturlpluginprivate
PRIVATE
Qt5::Network KF5::I18n
)
set_target_properties(shorturlpluginprivate
PROPERTIES VERSION ${KDEPIMADDONS_LIB_VERSION} SOVERSION ${KDEPIMADDONS_LIB_SOVERSION}
)
install(TARGETS shorturlpluginprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
add_subdirectory(shorturlengineplugin)
set(kmail_insertshorturleditorplugin_SRCS
insertshorturlplugineditor.cpp
insertshorturlplugineditorinterface.cpp
insertshorturlconfiguredialog.cpp
insertshorturlconfigurewidget.cpp
${pimcommon_shorturlplugin_shorturllib_SRCS}
)
kcoreaddons_add_plugin(kmail_insertshorturleditorplugin JSON kmail_insertshorturleditorplugin.json SOURCES
${kmail_insertshorturleditorplugin_SRCS} INSTALL_NAMESPACE kmail)
target_link_libraries(kmail_insertshorturleditorplugin
KF5::IconThemes KF5::MessageComposer KF5::XmlGui KF5::I18n
KF5::IconThemes KF5::MessageComposer KF5::XmlGui KF5::I18n shorturlpluginprivate
)
if(BUILD_TESTING)
......
......@@ -24,7 +24,7 @@
#include <QNetworkReply>
#include <QNetworkRequest>
#include "../../../shorturl/shorturlengineplugin/shorturlengineplugin.h"
#include "../../shorturlengineplugin/shorturlengineplugin.h"
IsgdShortUrlEngineInterface::IsgdShortUrlEngineInterface(ShortUrlEnginePlugin *plugin, QObject *parent)
: ShortUrlEngineInterface(plugin, parent)
......
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