Help! I have a baad crush.

Okay so one of my best friends has been with her boyfriend for a year now and I've got a massive crush on him. He always hugs me when we all hang out because it makes me feel awkward and extremely jelous and I tell him that but he does it just because he knows it makes me feel awkward. Recently I told him I dont care anymore and he can hug me all he likes because friends hug eachother and that is okay. But I have the biggest crush on him and I dont want to break up him and my friend because they've been together over a year and she's one of my best friends... What do I do?..