Utilize kcoreaddons_add_plugin CMake method

This takes care of creating the lib, installing the file and setting the LIBRARY_OUTPUT_DIRECTORY for the target.

( Wait with merging until Frameworks 5.83 is released)

Merge request reports

Loading