Turkey's foreign minister said Ankara would have opposed Egypt's 2013 coup regardless of who had been in power.