Quite a predicament

Ok so I have a guy friend who I have been liking for a bit and I know that he likes me. The problem is, is that while I was still dating my ex, my friend told me that she liked my guy friend. So she has been courting my guy friend. Like two weeks ago I broke up with my ex and I have started to like my guy friend. I'm not sure whether or not I should tell my friend that I like the guy because I don't want to ruin our friendship, but I also really like this guy. I need advice.