build: use target_sources instead of custom lists

Use the target_sources function to add additional sources to the
dispatch target rather than managing lists.  This simplifies the
handling and modernises the CMake usage.

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
1 file changed