Getting a job or leaving a good impression to the interviewers in an interview depends on many factors, including the appearance and personality of the interviewees. Wearing a pair of glasses can make people look knowledgeable in some cases, but on the other hand, you should also pay attention because wearing glasses can make you seem too traditional and stiff, or to the contrary, too exaggerating and alternative. If you are going to an interview for an position in an fashion company, then it is okay to wear fashionable glasses. If you are going to an interview in a school, a pair of neat and normal glasses may help you. If you are going to an interview in a police station, no wearing any glasses may be good for you. Therefore, you should adjust your clothing and appearance according to the exact condition.
I think it depends on what job you are applying for. If you are applying for a mental work, then wearing a pair of glasses which makes you knowledgeable and handsome is very important. If you are applying for a manual work, you'd better show your technic or your muscle.