Following through on his vow to “kick ISIS’s ass,” President Trump this week moved to arm the Syrian Defense Forces, a mainly Kurdish group, for the campaign to retake Raqqa, the Islamic State’s capital and last stronghold.

It’s the best choice in a part of the world that offers no good ones.

The SDF is fighting not just ISIS, but also the barbarous Assad regime. And Turkey considers it an enemy, too — seeing it as an ally of the PKK, the Turkish Kurdish group that both Ankara and Washington condemn as terrorists.

Yet arming the SDF strengthens the only player in the complex Syrian civil war that isn’t in the pockets of Iran and Russia or allied with radicals who want to murder Americans.

More important, it’s the only way the US-led anti-ISIS coalition has a prayer of taking Raqqa. The only alternative would be to send US ground troops into Syria on a scale beyond anything either the administration or the American people want.

The Turks’ attitude can’t be ignored: They’re a NATO ally and a major regional player, despite President Recep Tayyip Erdogan’s hard dictatorial turn.

But Erdogan’s own ideas for taking Raqqa would give the Islamic State too much time, too much breathing room. He may claim to share America’s concerns about Russia, Iran, Assad and ISIS, but warring on the Kurds is his real priority.

Ankara can’t be allowed a veto over US policy, nor can its interests outweigh the American imperative to crush ISIS.