Change rsd to be an OBJECT library.
Use the TARGET_OBJECTS from the rsd OBJECT library.