Is it "set your sites" or "set your sights"?

What is the origin? Does it reference gun sites and setting them for a better shot or does it reference aiming your eyes?
13 answers 13