President Donald Trump has criticized North Carolina's governor for vetoing a bill that would have required the state's sheriffs to recognize requests by federal immigration agents to hold jail inmates believed to be in the country illegally.

Trump tweeted Saturday that Gov. Roy Cooper's veto was "a terrible decision." He tweeted that the North Carolina Democrat "should reverse his decision and get back to the basics of fighting crime!"

RELATED: NC Gov. Cooper vetoes bill that would require sheriffs to cooperate with ICE

Cooper described the measure as unconstitutional and politically motivated.

The detainers ask that a suspect be held up to 48 hours for pickup. They aren't arrest warrants, so currently they can be ignored. The bill's Republican sponsors said sheriffs should work with ICE.

Trump is in France for an international summit.

RELATED: Trump faces limits of go-it-alone stance at G-7 summit in France

RELATED: Trump raises tariffs on Chinese goods as trade war escalates

RELATED: Trump: US companies 'hereby ordered' to find place other than China to do business

Follow WFMY News 2 on Facebook and Twitter

► Make it easy to keep up to date with more stories like this. Download the WFMY News 2 App: Apple UsersAndroid Users