Offset real estate sale capital gains with stock loss carry over capital losses

How does turbo tax link my stock market carryover capital gains losses to my real estate sale capital gains