Women who like being stared at (and there are a great many) dress in a way that makes you want to stare at them. Those that don't, don't.
I used to sit behind the departmental secretary who was very fit and wore something tight fitting and short skirts as a matter of habit. She seemed to spend the better part of the day trying to catch men looking at her. Got sacked, ultimately. Shame.