Turkish President Recep Tayyip Erdoğan met Pakistan's Prime Minister Shehbaz Sharif in the capital, Islamabad, on Thursday.