CMake macro to add an additional object to a plugin.