You don't need to add extra ingredients to get apricot jam to set, but you do need to use the right amount of sugar (2 parts fruit to 1 part sugar, by weight), macerate the fruit, and boil the jam to the jam setting point (just like you have to boil marmalade to the marmalade setting point). If you follow these steps and use a reliable recipe, you will succeed!