There are numerous products available to deter cats from pooping in your yard. Silent Roar is meant to be effective. It's made from lion dung! :? And I've seen little rubber mats with upward-pointing spikes you put in the ground. These don't hurt the cat, but put it off digging.