Do I need to be a certain major for optometry school?

So I currently want to go to optometry school and even though I know there isn’t a set major that I have to be to get accepted, just a list of courses, do you think I would be able to get in as an anthropology major? I’m transferring as that major because I would definitely not have any chances of getting in as biology since it’s so competitive and I’m gonna be missing one core chemistry class. Also, do colleges prefer that you get all your core classes done at the CC or the university? I’ve been reading mixed things about that topic.