Purchasing Property with Company stock

Any have a general idea of how this works?

board of directors must approve the purchase of real property.

i guess the seller would have to accept the offer of acquiring shares from the company - so i would guess that they would have to be certain types of stock.

there are also SEC issues with this i’m sure.