Commit ef0ece50 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add more unity support

parent 4a3c4d3f
Pipeline #51312 canceled with stage
......@@ -7,6 +7,9 @@ set(gearyimporter_SRCS
ecm_qt_declare_logging_category(gearyimporter_SRCS HEADER gearyplugin_debug.h IDENTIFIER GEARYPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.gearyplugin)
kcoreaddons_add_plugin(gearyimporterplugin JSON gearyimporter.json SOURCES
${gearyimporter_SRCS} INSTALL_NAMESPACE importwizard)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(gearyimporterplugin PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(gearyimporterplugin
......
......@@ -6,7 +6,9 @@ set(nylasmailimporter_SRCS
ecm_qt_declare_logging_category(nylasmailimporter_SRCS HEADER nylasmailplugin_debug.h IDENTIFIER NYLASMAILPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.nylasmailplugin)
kcoreaddons_add_plugin(nylasmailimporterplugin JSON nylasmailimporter.json SOURCES
${nylasmailimporter_SRCS} INSTALL_NAMESPACE importwizard)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(nylasmailimporterplugin PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(nylasmailimporterplugin
KPim::ImportWizard
......
......@@ -7,7 +7,9 @@ set(operaimporter_SRCS
ecm_qt_declare_logging_category(operaimporter_SRCS HEADER operaplugin_debug.h IDENTIFIER OPERAPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.operaplugin)
kcoreaddons_add_plugin(operaimporterplugin JSON operaimporter.json SOURCES
${operaimporter_SRCS} INSTALL_NAMESPACE importwizard)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(operaimporterplugin PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(operaimporterplugin
KPim::ImportWizard
......
......@@ -6,6 +6,9 @@ set(korg_datenums_PART_SRCS
)
add_library(korg_datenums MODULE ${korg_datenums_PART_SRCS})
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(korg_datenums PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(korg_datenums
KF5::EventViews
......
......@@ -12,7 +12,9 @@ ecm_qt_declare_logging_category(korg_picoftheday_PART_SRCS HEADER korganizer_pic
add_library(korg_picoftheday MODULE ${korg_picoftheday_PART_SRCS})
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
set_target_properties(korg_picoftheday PROPERTIES UNITY_BUILD ON)
endif()
target_link_libraries(korg_picoftheday
PRIVATE
KF5::EventViews
......
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