Set One's Cap For

Pursue someone romantically; try to win someone's affection or attention.

Examples:

  • We all thought Anne had set her cap for Joe, but we were wrong.

Origin: 1700s; by early 1800s mainly used for a woman pursuing a man; now probably obsolescent