Obama's not-so-secret admirer: Donald Trump

President Barack Obama has a new fan: Donald Trump.

After lambasting Obama for months as a failed leader unfit to be president, the Republican president-elect found kinder words on Tuesday for the man he will succeed in the White House on Jan. 20

"I didn't know if I'd like him. I probably thought that maybe I wouldn't, but I did. I really enjoyed him a lot," Trump said in an interview with the New York Times.

Obama, a Democrat, met with Trump at the Oval Office on Nov. 10, two days after the presidential election. White House spokesman Josh Earnest said earlier on Tuesday the two had spoken again since then, citing Obama's commitment to a smooth transfer of power, but offered no other details.

"I had a great meeting with President Obama," Trump told the Times. "I really liked him a lot."

Related: Obama, Trump hold 'excellent' White House talks

Obama, who had his own harsh words for Trump as he campaigned for Democrat Hillary Clinton, has made clear he would put the bitterness of the campaign aside to ensure a smooth transition of power and protect a pillar of American democracy.

Trump told the newspaper that Obama talked to him about what he considered the country's biggest problems, one problem in particular that the president-elect did not mention, according to Twitter posts by Times reporters.

Trump, who has vowed to undo a number of initiatives Obama holds dear, appeared conciliatory toward the president whose US citizenship he had long questioned.

"He said very nice things after the meeting and I said very nice things about him," Trump said of Obama, according to the Times.

Read also: Trump wouldn't be able to be president if grandfather returned to Germany