Of course the Church has a well-known teaching with regard to this activity. Just like the Church has a specific teaching about artificial contraception. So the Church obviously says specific things about specific things.
The point is that the identical moral reasoning process is being applied consistently to all people, namely, sexual activity is to be avoided outside of a marriage open to children. Gay people are not being targeted by some sort of religious moral carve-out.