Using iMac as a display for Macbook Pro
I'm trying to connect a Macbook Pro to an iMac so that I can use the larger display.
My understanding was all I needed was a Thunderbolt to Thunderbolt cable and then using Command F2 on the iMac, it would display the content of the Macbook screen.
Unfortunately nothing happens when I hit Command F2 on the iMac.
Both pieces of hardware are 2014/2015
Is there something I'm missing to get this working?