I wonder if it's possible to roll the plugin's source files into the plasma_add_applet() command via a CPP_SOURCES [foo.cpp ...] argument. That would require much more investigation and a little more work though.
The explicit dep is trivially correct and an improvement to the status quo, let's have it.