summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-07-22 19:23:05 (GMT)
committerMontel Laurent <montel@kde.org>2016-07-22 19:23:24 (GMT)
commit458bedea009266f6e577e66c0703f31a91748d3e (patch)
tree6fddc2117a8443e34c52909608ab64933c653499
parenta230531cbbf256f739d71e0ff5b312a96b8897ea (diff)
Never defined => remove it
-rw-r--r--agents/maildispatcher/CMakeLists.txt7
-rw-r--r--resources/imap/CMakeLists.txt7
2 files changed, 0 insertions, 14 deletions
diff --git a/agents/maildispatcher/CMakeLists.txt b/agents/maildispatcher/CMakeLists.txt
index 078d31d..c7eb42c 100644
--- a/agents/maildispatcher/CMakeLists.txt
+++ b/agents/maildispatcher/CMakeLists.txt
@@ -24,15 +24,8 @@ qt5_add_dbus_adaptor( maildispatcheragent_SRCS
org.freedesktop.Akonadi.MailDispatcherAgent.xml maildispatcheragent.h MailDispatcherAgent
)
-if (RUNTIME_PLUGINS_STATIC)
- add_definitions(-DMAIL_SERIALIZER_PLUGIN_STATIC)
-endif ()
-
add_executable(akonadi_maildispatcher_agent ${maildispatcheragent_SRCS})
-if (RUNTIME_PLUGINS_STATIC)
- target_link_libraries(akonadi_maildispatcher_agent akonadi_serializer_mail)
-endif ()
if( APPLE )
set_target_properties(akonadi_maildispatcher_agent PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../Info.plist.template)
diff --git a/resources/imap/CMakeLists.txt b/resources/imap/CMakeLists.txt
index da6f9e1..45243ad 100644
--- a/resources/imap/CMakeLists.txt
+++ b/resources/imap/CMakeLists.txt
@@ -89,9 +89,6 @@ install( FILES imapresource.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}/akon
ki18n_wrap_ui(akonadi_imap_resource_SRCS setupserverview_desktop.ui)
-if (RUNTIME_PLUGINS_STATIC)
- add_definitions(-DMAIL_SERIALIZER_PLUGIN_STATIC)
-endif ()
add_executable(akonadi_imap_resource ${akonadi_imap_resource_SRCS})
@@ -116,10 +113,6 @@ target_link_libraries(akonadi_imap_resource
KF5::TextWidgets
folderarchivesettings)
-if (RUNTIME_PLUGINS_STATIC)
- target_link_libraries(akonadi_imap_resource akonadi_serializer_mail)
-endif ()
-
install(TARGETS akonadi_imap_resource ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
add_subdirectory( wizard )