setting your cap
Said of a woman who determines to gain the affections of a man....Origin: from the French nautical phrase 'mettre le cap sur' - 'to set a course for'... Women commonly wore caps of white linen or muslin in the 18th century. Any woman who was intent on attracting a man would certainly wear her best cap, probably ornamented with lace and ribbons, and set it at the most becoming angle… By the early 19th century the phrase was common enough to have taken on a metaphorical usage. ('Set One's Cap At' - the Meaning and Origin of This Phrase. Phrasefinder.)