If he isn't aware of your feelings, then talk with him about this.
If he is aware of your feelings, then it's time to either:
Accept that you wouldn't be getting anything more than friendship OR leave.
Have you spoken with him about needing/wanting some romance in the relationship or doing something new together here or there, maybe setting up a date night? What did he used to do when you first met that met this need of yours that he isn't doing now? That would be my first suggestion if you haven't.
If you have genuinely made your effort to get what you need from him and he hasn't shown any effort or intent to give it to you after a while or started then stopped, I would consider if this is a big enough issue to be a deal breaker.
I agree with above that communication is important and would hope that you've talked about some of your needs with him. Some men are pretty basic in terms of thinking about relationships. They get comfortable and don't do anything different at all because they don't really think about it or see a need.
so, if he started being more thoughtful, more romantic, more chivalrous-- would you want to continue the relationship? Or is the thought that that just isn't him and you'd like to find a partner that these things come more naturally for??
I do think that when we've put in our time and the relationship is just not working, it isn't working and it is better to move on generally speaking.
peace and luck dear