Turkish President Recep Tayyip Erdoğan is holding talks with other participating leaders on the sidelines of the NATO summit in Madrid.