As others have noted, barn lime does wonders for the smell in our dog kennel. I do not know if it would adversely affect the compost though.