Where in the United States Constitution is there any mention of Presidential elections?
He shall hold his Office during the Term of four Years, and, together with the Vice President, chosen for the same Term, be elected...
Of course, by "election", it means by the legislatures.