Use ecm_setup_qtplugin_macro_names
ClosedPublic

Authored by kossebau on Apr 6 2020, 11:41 PM.

Details

Summary

Avoids all the explicit boilerplate needed, ensures the dependency on
the JSON file ia also set and allows simple export of the setup
in the installed CMake config file, so other projects importing
the config file have the respective CMake macros set as recommended.

Diff Detail

Repository
R165 Akonadi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.Apr 6 2020, 11:41 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 6 2020, 11:41 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
kossebau requested review of this revision.Apr 6 2020, 11:41 PM
dvratil accepted this revision.Apr 9 2020, 11:13 AM
This revision is now accepted and ready to land.Apr 9 2020, 11:13 AM
This revision was automatically updated to reflect the committed changes.