The First Ecumenical Council of Nicaea
Homosexuality is unacceptable and is mortal sin (with, perhaps, very few exceptions based on very rare circumstances). The Church condemns homosexuality. A clear condemnation is that of pope saint Pius V in his bull Horrendum Illud Scelus (That Horrible Crime):
"That horrible crime [homosexuality], on account of which corrupt and obscene cities were destroyed by fire through divine condemnation [i.e. Sodom and Gomorrah, Gen. 19]...Therefore, wishing to pursue with greater rigor than we have exerted since the beginning of our pontificate, we establish that any priest or member of the clergy, either secular or regular, who commits such an execrable crime, by force of the present law be deprived of every clerical privilege, of every post, dignity and ecclesiastical benefit, and having been degraded by an ecclesiastical judge, let him be immediately delivered to the secular authority to be put to death, as mandated by law as the fitting punishment for laymen who have sunk into this abyss."
The crime of homosexuality is so great that God destroyed cities with raining sulfur and that pope saint Pius V commanded that homosexual clergy be handed over to the authorities to be "put to death." If Genesis chapter 19 was not clear enough, here is Church teaching showing that homosexuality is a very detestable sin.