Republican candidate for governor Bruce Rauner said Thursday he’s not a fan of gambling or a plan to put slot machines at Chicago’s international airports, but he wouldn’t stand in the way of adding casinos if local communities support it.

Lawmakers for years have pushed for expanding gambling as a way to generate funds to address Illinois’ huge financial problems.

In an interview with The Associated Press, Rauner said any gambling expansion must maximize taxpayer benefit. But he made clear he has misgivings.

“I don’t gamble. I don’t like gambling,” said Rauner, a businessman from Winnetka who’s challenging Democratic Gov. Pat Quinn in November. “It can be an addictive thing and it can hurt families that can’t afford to be hurt.”

Rauner also said he’d likely lean against putting slots at O’Hare and Midway airports — one of the proposals being considered in the Illinois Legislature.

“When visitors are coming into Illinois there’s a certain image you project when folks are coming through, and I’m not sure I want that to be the image of Illinois,” he said.

Quinn has twice rejected gambling expansion proposals, largely over ethical concerns about corruption. He’s said Illinois shouldn’t settle for a gambling bill that “includes loopholes for mobsters.”

Rauner said he also would push for “careful, thoughtful restrictions about who’s involved” in any gambling expansion.

Lawmakers have considered adding five casinos statewide, including in Chicago. Another option would put a mega casino in Chicago and nowhere else.