Commit 53a45b7b authored by Raymond Wooninck's avatar Raymond Wooninck

Make it build again after the moving to src directories

CCMAIL: montel@kde.org
parent 1868ad3e
......@@ -119,7 +119,7 @@ ki18n_wrap_ui(kalarm_bin_SRCS
)
qt5_add_dbus_adaptor(kalarm_bin_SRCS org.kde.kalarm.kalarm.xml dbushandler.h DBusHandler)
qt5_add_dbus_interfaces(kalarm_bin_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml)
qt5_add_dbus_interfaces(kalarm_bin_SRCS ${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml)
kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/kalarmresource.kcfg org.kde.Akonadi.KAlarm.Settings)
qt5_add_dbus_interface(kalarm_bin_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.KAlarm.Settings.xml kalarmsettings KAlarmSettings)
......
......@@ -11,7 +11,7 @@ set(kontact_kmail_plugins_interface_common_SRCS)
ecm_qt_declare_logging_category(kontact_kmail_plugins_interface_common_SRCS HEADER kmailplugin_debug.h IDENTIFIER KMAILPLUGIN_LOG CATEGORY_NAME log_kmail_plugin)
set(kontact_kmail_plugins_interface_SRCS ${interface_SRCS})
qt5_add_dbus_interfaces(kontact_kmail_plugins_interface_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml)
qt5_add_dbus_interfaces(kontact_kmail_plugins_interface_SRCS ${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml)
set(kontact_kmailplugin_PART_SRCS kmail_plugin.cpp summarywidget.cpp ${kontact_kmail_plugins_interface_SRCS} ${kontact_kmail_plugins_interface_common_SRCS})
......
......@@ -208,11 +208,11 @@ set(kmailprivate_LIB_SRCS
qt5_generate_dbus_interface(editor/kmcomposerwin.h org.kde.kmail.mailcomposer.xml OPTIONS -a)
qt5_add_dbus_adaptor(kmailprivate_LIB_SRCS
${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.mailcomposer.xml editor/kmcomposerwin.h KMComposerWin
${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.mailcomposer.xml editor/kmcomposerwin.h KMComposerWin
)
qt5_add_dbus_adaptor(kmailprivate_LIB_SRCS
${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml kmkernel.h KMKernel
${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml kmkernel.h KMKernel
)
qt5_add_dbus_adaptor(kmailprivate_LIB_SRCS
${MAILTRANSPORT_DBUS_SERVICE} mailserviceimpl.h
......@@ -220,7 +220,7 @@ qt5_add_dbus_adaptor(kmailprivate_LIB_SRCS
)
qt5_add_dbus_interfaces(kmailprivate_LIB_SRCS
${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml
${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml
)
qt5_add_dbus_interfaces(kmailprivate_LIB_SRCS
${CMAKE_SOURCE_DIR}/agents/archivemailagent/org.freedesktop.Akonadi.ArchiveMailAgent.xml
......@@ -331,9 +331,9 @@ target_link_libraries(kcm_kmail kmailprivate KF5::KCMUtils KF5::Completion KF5:
set(kmailpart_PART_SRCS kmail_part.cpp ${kmail_common_SRCS})
qt5_generate_dbus_interface(kmail_part.h org.kde.kmail.kmailpart.xml OPTIONS -a)
qt5_add_dbus_adaptor(kmailpart_PART_SRCS
${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmailpart.xml kmail_part.h KMailPart
${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmailpart.xml kmail_part.h KMailPart
)
qt5_add_dbus_interfaces(kmailpart_PART_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmailpart.xml)
qt5_add_dbus_interfaces(kmailpart_PART_SRCS ${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmailpart.xml)
add_library(kmailpart MODULE ${kmailpart_PART_SRCS})
target_link_libraries(kmailpart
......@@ -405,8 +405,8 @@ install(TARGETS
DESTINATION ${KDE_INSTALL_PLUGINDIR}
)
install(FILES
${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmailpart.xml
${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml
${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmailpart.xml
${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml
DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}
)
......
......@@ -4,7 +4,7 @@
set(kontact_summaryplugin_PART_SRCS summaryview_plugin.cpp summaryview_part.cpp dropwidget.cpp)
qt5_add_resources(kontact_summaryplugin_PART_SRCS summaryview.qrc)
qt5_add_dbus_interfaces(kontact_summaryplugin_PART_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.kmail.xml)
qt5_add_dbus_interfaces(kontact_summaryplugin_PART_SRCS ${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml)
add_library(kontact_summaryplugin MODULE ${kontact_summaryplugin_PART_SRCS})
add_dependencies(kontact_summaryplugin kmail_xml)
......
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