President Barack Obama said Wednesday he told Russian President Vladimir Putin during a 35-minute meeting in Turkey earlier this week that if Russia shifts its military strategy in Syria to focus on Islamic State, the U.S. would welcome cooperation with Moscow on an intensified military campaign.

“That is something that we very much want to see,” Mr. Obama said while in the Philippines for a summit.

Mr....