Click the Apple menu > System Settings > General (in the sidebar), then click AirDrop & Handoff on the right (you may need to scroll down to locate it). Now, turn on Airplay Receiver.