Command line arguments to cmake silently ignore en-dash in place of hyphen
Ran into this and it took an outrageous amount of time to figure out why
-GNinja had suddenly started failing on Windows and was falling back to the Visual Studio Generator. It turns out that I'd somehow copied an en-dash into the place of the hyphen by accident, but the font of my shell didn't show this, and jetbrains mono also didn't show it.
cmake should issue a warning when it detects silly characters in places they don't belong. The en-dash is the most likely case of this happening as many fonts don't treat it properly, but I'm sure there are others.