Hi killerkitten :0
You can't help who you have feelings for, but you can decide what to do about them.
One day, you two might get together ~ or maybe you will lose interest, but, for now, I think that you are right to respect the relationship that he and your friend have.