Mentioning something 'in passing' means mentioning it alongside the main topic of conversation. It will be something insufficiently important to mention by itself, but while you are discussing a related topic it is little trouble to mention it as well.