Train your dog
As soon as your dog looks away from the cat, praise him profusely and give him a treat. Repeat every time your dog ignores the cat. Your dog will learn that whenever he sees your cat, rewards are forthcoming from you if he looks away from the cat.