Washington (CNN) Libertarian presidential candidate Gary Johnson told CNN Thursday that Mitt Romney was considering endorsing him for president this fall.

Johnson, a former governor of New Mexico, told CNN's Wolf Blitzer that he and Romney had spoken in recent weeks.

"I think he's considering the possibility of doing this," Johnson said, "of actually endorsing the two of us."

Romney has previously said that he would look at the ticket but has not publicly committed to supporting them.

CNN has reached out to Romney for comment.

Read More