To thicken simply simmer the compote for longer to reduce more of the liquid. It will then get thicker. Bear in mind though that it will naturally thicken more as it cools so don't take it too far.